How can I set up static NAT using OpenSUSE 11.3 64-bit?
I want all traffic coming to modem0 (for example 18.104.22.168) forwarded and translated to another system (192.168.47.2) connected to the network on eth1 (192.168.47.1/24), and all Internet-bound traffic from the other system (192.168.47.2) forwarded and translated to modem0s’ IP address (for example 22.214.171.124). There must be no port translation and no filtering on the part of the NATting system.
At the same time, the NATting system must not use modem0 for Internet connectivity, but rather have 192.168.135.2 as its’ default gateway on the network connected to eth0 (192.168.135.134/24).
I have already set up dynamic NAT with overloading by hand, but that’s not what I want. Didn’t know there was a GUI for it, though. What I need is static NAT with dual connections to the Internet, where one PPP connection is used for the static NAT and the other (Ethernet with a default gateway) is used for routing the NATting systems’ other Internet-bound IP traffic.
The NATting system being the OpenSUSE system performing NAT. What I want to set up is depicted in the following diagram:
I want all Internet-bound traffic comming from system A via eth1 on the OpenSUSE 11.3 64-bit system B forwarded to modem0, replacing the source IP address with modem0s’ IP address. I want all traffic comming from the Internet over modem0 forwarded to eth1, replacing the destination IP address with system As’ IP address. Also, all other Internet traffic from system B should be routed over eth0.
Ok thanks for the clarification. I think I get the whole picture now. I’ve got just one more question. Why are You trying to do this using openSUSE ? I’m asking because it would be so much easier to do using vyatta Of course it’s possible to do using openSUSE but I’m just curious.