› Forums › Network Management › Firewall, Traffic Shaping and Net Balancer › routing trought 2 routeurs
- This topic is empty.
-
AuthorPosts
-
September 13, 2017 at 4:41 pm #44870
staifan13
MemberHello,
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:81Chain 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/0Chain SNATVS (1 references)
pkts bytes target prot opt in out source destinationbut it doesn’t work and I don’t understand why .
If any can help me …
Thank you .
Stéphan (France)
-
AuthorPosts
- You must be logged in to reply to this topic.