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"?
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Multiple IP-Adress in User defined open / forwarded ports
Re: Multiple IP-Adress in User defined open / forwarded ports
what do you mean?
an incoming request on one port, send it to two ip's ?
cheers
Eek
an incoming request on one port, send it to two ip's ?
cheers
Eek
cheers
Eek
Eek
Re: Multiple IP-Adress in User defined open / forwarded ports
Virtual multiple personality syndrome?Eek wrote:what do you mean?
an incoming request on one port, send it to two ip's ?

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
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
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