Hi, i have a pptp-client interface, but how do i setup so all local traffic is routed in/out on the pptp connection.
Set a default route out the VPN interface (use the IP on the other side as the gateway), and install a specific route to the public IP on the other side via your normal WAN provider.
Let’s assume you have PPTP server 1.1.1.1 with private tunnel IP 192.168.0.1, and PPTP client 2.2.2.2 with private tunnel IP 192.168.0.2. You want to run all traffic behind the PPTP client router via the tunnel. Your WAN gateway on the PPTP client router is 2.2.2.1
/ip route
add dst-address=1.1.1.1 gateway=2.2.2.1
add dst-address=0.0.0.0/0 gateway=192.168.0.1
Hi, tanx.
But, the thing is that im connectiong to a service vpn.anonine.net to get anonyme on internet.
get new ip often. is it better if i change NAT on the Gateway interface? to the PPTP clinent interface?