| Erik Vetters 2006-10-31, 7:12 am |
| Hi,
I have small question and can't figure it out howto route
a single IP Address through a vpn. Maybe someone could give
me some help.
VPN-Net is : 192.168.99.0
I can ping to several clients and from server to client and
reverse, so VPN works works like a charme
Now I want to to route a singel IP address, not the whole
traffice through VPN.
I have done on my Ubuntu Client box:
#~: route add 10.0.0.10 gw 192.168.99.5
So that all traffice to 10.0.0.10 goes through VPN, that's right
isn't it.
but what I do not know. What I have to do, to setup the server
that it routes the traffic to 10.0.0.10. Of course it is not
allowed. Can somebody point me to the right iptables rule
to to this.
I do not understand this push "" and route config stuff in
openvpn.conf
Many thx
Erik
|