OpenVZ Forum


Home » General » Support » *SOLVED* port 3754 routing udp & tcp - doesn't work
*SOLVED* port 3754 routing udp & tcp - doesn't work [message #24749] Sun, 09 December 2007 14:03 Go to previous message
Kutschka is currently offline  Kutschka
Messages: 24
Registered: February 2007
Junior Member
[Editid and translated to english]
Hello,

I have installed on a VE (has local IP:192.168.1.8) Ventrilo .. Used are port 3754 (UDP and TCP)..

But ıt does not work...

What I did:

On creation VE
vzctl set 1005 --iptables iptable_nat --save;


emacs /etc/init.d/vz
Added below:
iptables -t nat -P PREROUTING ACCEPT

//- How to provide access for VE to Internet
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to MY_PUBLIC_IP

//- How to provide access from Internet to a VE
iptables -t nat -P PREROUTING ACCEPT

iptables -t nat -A PREROUTING -p tcp -d 192.168.1.8 --dport
 3784 -i eth0 -j DNAT --to-destination MY_PUBLIC_IP:3784

iptables -t nat -A PREROUTING -p udp -d 192.168.1.8 --dport
 3784 -i eth0 -j DNAT --to-destination MY_PUBLIC_IP:3784

iptables -t nat -A PREROUTING -p TCP --dport 3784
 -j DNAT --to-destination 192.168.1.8:3784

- In dem VE
/sbin/iptables -t nat -A POSTROUTING -s ! 192.168.1.8
 -o venet0 -j SNAT --to-source 192.168.1.8


Can anyone help me, what is here wrong?

Thank you...
Kutschka

[Updated on: Fri, 14 December 2007 17:35]

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: Thu Jul 18 17:37:32 GMT 2024

Total time taken to generate the page: 0.02539 seconds