Port forwarding don’t work with 2 external IP

Home Page Forums Network Management ZeroShell Port forwarding don’t work with 2 external IP

This topic contains 1 reply, has 0 voices, and was last updated by  Konstantinus 3 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44453

    Konstantinus
    Member

    Hello!
    Please help me.

    I have 2 external IP in eth1 interface, end local network with 2 server in eth0 interface.

    My sofr router have 2 external IP and 1 local – 192.168.0.1.

    I create rule:
    85.159.6.48 forward 80 port to 192.168.0.7
    85.159.6.61 forward 80 port to 192.168.0.3
    First rule is work, but when i go to 85.159.6.61 I get a second address browser get me 192.168.0.1

    Thanks!

    #53959

    TheNanny
    Member

    Hi.

    What I see looks right and should work. I can’t test your configuration, but I also don’t think there is a bug.
    I understand that your eth1 interface has two local IP addresses, one is 85.159.6.48 and the second is 85.159.6.61.
    If it shows you the ZS webinterface on 85.159.6.61 you should remove ETH1 or the subnet 85.159.6.0/xx from the “SETUP” ->”WEB” otherwise ZS web server for the webinterface answers the request on port 80.

    #53960

    DrmCa
    Participant

    Here are my FTP/web server rules for example, I too have 2 external IPs and this always worked:

    ppp0 / ANY TCP 21 10.10.10.2:21
    ppp1 / ANY TCP 21 10.10.10.2:21
    ppp0 / ANY TCP 80 10.10.10.2:80
    ppp1 / ANY TCP 80 10.10.10.2:80
    ppp0 / ANY TCP 443 10.10.10.2:443
    ppp1 / ANY TCP 443 10.10.10.2:443

    As you can see I did not bother with the source IPs, just used the PPP interfaces as source.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.