Page 1 of 1

Multiple IP-Adress in User defined open / forwarded ports

Posted: 10 Aug 2009, 03:42
by GNOE Inc..
Hi,

can somebody tell me how I can grant 2 ip addresses to one port in "User defined open / forwarded ports"?
What do I have to fill in in "source ip"?

Re: Multiple IP-Adress in User defined open / forwarded ports

Posted: 07 Sep 2009, 17:35
by GNOE Inc..
Anybody? :mrgreen:

Re: Multiple IP-Adress in User defined open / forwarded ports

Posted: 08 Sep 2009, 00:59
by Eek
what do you mean?
an incoming request on one port, send it to two ip's ?
cheers
Eek

Re: Multiple IP-Adress in User defined open / forwarded ports

Posted: 18 Sep 2009, 14:16
by GNOE Inc..
Eek wrote:what do you mean?
an incoming request on one port, send it to two ip's ?
Virtual multiple personality syndrome? :D

No, I mean more to allow more than one source ip-address forwarding to a server.
Example FTP: (Login: admin --> Network --> Firewall --> User defined open / forwarded ports)

Source IP - Public port - Private port - Private ip - Protocol
all - 21 - 21 - 192.168.x.x - tcp

Instead of (Source IP) 'all' or just one IP, several IP's or a range of IP's. For example:

xyz.xyz.xyz.xyz, yyy.yyy.yyy.yyy - 21 - 21 - 192.168.x.x - tcp
xyz.xyz.xyz.xyz; yyy.yyy.yyy.yyy - 25 - 25 - 192.168.x.x - tcp

Re: Multiple IP-Adress in User defined open / forwarded ports

Posted: 29 Jan 2010, 06:22
by agkbill
Hi,

I found this at.

http://www.comptechdoc.org/os/linux/use ... icnet.html

--------------------------------------------------------------------------------------------------------------------
Configuring an interface for multiple IP addresses
If you want to configure your network card to act as more than one IP address, issue the following command:

ifconfig dummy 192.168.1.102 netmask 255.255.255.0

This uses the dummy system interface capability supported in the kernel to setup another virtual interface which operates at IP address 192.168.1.102. Substitute the IP address that you want your virtual interface to be with an appropriate netmask for your network. To disable this, issue the following command.

ifconfig dummy down

Another way to use multiple IP addresses on one ethernet card is to set up a new file in your /etc/sysconfig/network-scripts directory. Copy your ifcfg-eth0 role to ifcfg-eth0:0. Edit that file and rename the device to "eth0:0" and the IP address to the desired IP address. You may also want to modify BROADCAST, NETWORK, or NETMASK. You can continue adding IP addresses by using :1, :2, etc such as ifcfg-eth0:2.

To make it effective, you must reboot your system or issue the command "/etc/rc.d/init.d/network restart" as root.
-----------------------------------------------------------------------------------------------------------------------

maybe can help.
Best regards,
/Christer