OpenVZ Forum


Home » General » Support » *SOLVED* port 3754 routing udp & tcp - doesn't work
Re: port 3754 routing udp & tcp - doesn't work [message #25107 is a reply to message #24749] Fri, 14 December 2007 14:24 Go to previous messageGo to previous message
Sten is currently offline  Sten
Messages: 5
Registered: December 2007
Junior Member
I think the addresses are vice versa
(you want packages that are about to reach HN, ie. their destination is MY_PUBLIC_IP, to be redirected to VE), it should be:
iptables -t nat -A PREROUTING -p tcp -d MY_PUBLIC_IP --dport
 3784 -i eth0 -j DNAT --to-destination 192.168.1.8:3784


xor rsi,rsi
lodsb
Segmentation fault

E-mail returned to sender – Insufficient voltage

[Updated on: Fri, 14 December 2007 14:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Per-VE VE_ROOT and VE_PRIVATE
Next Topic: All routable IP addresses all on the same vlan
Goto Forum:
  


Current Time: Sun Aug 18 09:09:50 GMT 2024

Total time taken to generate the page: 0.02857 seconds