3

DNAT in SuSEFirewall2

view full story
linux-howto

http://forums.opensuse.org – Ok, I'm fighting with this for hours now. Here is the story: I have a server with a XEN Virtual Machine. The VM uses the address 192.168.0.4. The same server uses two more network cards - one with the IP 192.168.0.1 and one with the IP 192.168.1.10. Now - what I want to do is make a simple port redirection: 192.168.1.10:80 --> 192.168.0.4:80 So, all the traffic that jumps into port 80 on 192.168.1.10 gets to the VM and the way back. This is how I tried to achieve this: iptables -t nat -I PREROUTING -p tcp -d 192.168.1.10 --dport 80 -j DNAT --to 192.168.0.4:80 This doesn't work. Can you give me any clue, any idea, solution - how can I manage to get this working? (Distributions)