routing trought 2 routeurs

This topic contains 1 reply, has 0 voices, and was last updated by  staifan13 1 year, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #44870

    staifan13
    Member

    Hello,
    I have a problem routing a port trought Zeroshell .

    mI have 2 routeurs . My first routeur (the gateway) is configured with a 192.168.1.0/24 adress on his lan .
    my zeroshell is conected to my gateway on ETH00 with 192.168.1.7 static IP adress .
    ETH01 is configures with 192.168.10.0/24 .
    I have enabled the NAT o ETH00 and ETH01 .
    I have a web server on ETH01 with IP 192.168.10.11 wich work on port 81 .

    On my first routeur (the gateway) I configured the port forwarding from the WAN port 80 to 192.168.1.7 port 83 .

    On zeroshell I configured the port forwarding from ETH00 port 83 to 192.168.10.11 on port 81 .

    So this my routing table :

    Chain PREROUTING (policy ACCEPT 1006 packets, 178K bytes)
    pkts bytes target prot opt in out source destination
    37037 4196K CapPort all — * * 0.0.0.0/0 0.0.0.0/0
    1890 91064 Proxy tcp — * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
    0 0 DNAT tcp — ETH00 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:83 to:192.168.10.11:81
    0 0 DNAT udp — ETH00 * 0.0.0.0/0 0.0.0.0/0 udp dpt:83 to:192.168.10.11:81

    Chain POSTROUTING (policy ACCEPT 98 packets, 6687 bytes)
    pkts bytes target prot opt in out source destination
    146K 10M SNATVS all — * * 0.0.0.0/0 0.0.0.0/0
    21288 1642K MASQUERADE all — * ETH00 0.0.0.0/0 0.0.0.0/0
    95 12448 MASQUERADE all — * ETH01 0.0.0.0/0 0.0.0.0/0

    Chain SNATVS (1 references)
    pkts bytes target prot opt in out source destination

    but it doesn’t work and I don’t understand why .

    If any can help me …

    Thank you .

    St├ęphan (France)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.