Port based routing
Hi i need help ?
I want to port based routing this is my scenario I need to forward port 5060 to CIPE(VPN) tunnel, what should i do to forward it. Plz help me out , with some example This is what i want IF port 5060 forward-from -- |cipe local Singapore|--to--|cipe HeadOffice UK| means send port 5060 traffic on VPN tunnel to Headoffice. I have establish Point to Point tunnel b/w local office and Headoffice. Now what should i do to forward port 5060 through Tunnel. Point to Point tunnel =cipe local Singapore = cipe IP = 10.0.0.1 Point to Point tunnel =cipe HeadOffice UK = cipe IP = 10.0.0.2 Plz Plz help me out. Thanks In Advance |
I'm not 100% sure what you are looking for but I think you just want to use an iptables nat like:
iptables -A PREROUTING -p tcp --dport 5060 -j REDIRECT --to-destination 10.0.0.1:5060 |
All times are GMT -5. The time now is 02:23 PM. |