OpenVZ Forum


Home » General » Support » *RESOLVED* VE Port Injecting?
*RESOLVED* VE Port Injecting? [message #14643] Wed, 04 July 2007 06:19 Go to next message
boredbadger is currently offline  boredbadger
Messages: 4
Registered: July 2007
Junior Member
I was wondering if it's possible to inject into a port on a VE from VE0? I want an application running on VE0 to be accessible from all ip addresses being used by the VEs. I has to be do-able as its done with Virtuozzo Power Panel.

Your help is much appreciated!

Neil

[Updated on: Thu, 05 July 2007 08:54] by Moderator

Report message to a moderator

Re: VE Port Injecting? [message #14644 is a reply to message #14643] Wed, 04 July 2007 06:34 Go to previous message
boredbadger is currently offline  boredbadger
Messages: 4
Registered: July 2007
Junior Member
Ah figured it out with prerouting

dnat="-j DNAT --to-destination"

iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -A PREROUTING -p TCP -d <external IP-address> --dport 4643 $dnat <veo IP-address>:4643

Smile
Previous Topic: *SOLVED* Hardware compatibility list?
Next Topic: No yum in CentOS template
Goto Forum:
  


Current Time: Tue Jul 15 05:19:07 GMT 2025

Total time taken to generate the page: 0.02648 seconds