Displaying 1 result from an estimated 1 matches for "natport".
Did you mean:
nat_port
2003 Mar 01
2
Virtual Routers would this work?
...N10 with MAC address of Linux box
Packet enters Linux box on VLAN10 Source:ClientIP Dest:www.redhat.com:80
Packet gets marked by iptables rule. FWMARK = 10
Packet gets routed out to upstream gateway
Packet gets NAT''ed to SUBNETIP10 based on FWMARK 10
Packet now looks like src: SUBNETIP10:NATPORT dst:REDHAT:80
Response packet from redhat flows
Packet enters Linux box src REDHAT:80 dst SUBNETIP10:NATPORT
Packet gets tagged with fwmark based on SUBNETIP to FWMARK 10
Packet gets unNAT''ed by kernel NAT table
Packet looks like src REDHAT:80 dst CLIENTIP:CLIENTPORT fwmark:10
iproute2 s...