On 12/9/10 6:01 PM, Jim Pingle wrote:
On 12/9/2010 5:49 PM, David Miller wrote:
How does one configure routes across a VPN connection?

IE, I have a pfsense 2.0beta box with external address 1.2.3.4 connected
to 10.2.1.0/24 on the inside.  If the box gives out 172.30.40.50 as a
VPN ppp0 address, how do I tell the client to route 10.2.1.0 traffic
over the link?



(VPN client gets 172.30.40.50)<->  [internet]<->  1.2.3.4[pfsense box]
<->  10.2.1.0/24

Everything works fine if I do a route add on the client for network
10.2.1.0 via the ppp interface, but I'd like that to be automatic.  If
the book covers this in the VPN chapter I'm just not seeing it.
AFAIK there is no way to make it automatic with PPTP in our GUI. You can
assign yourself a static PPTP IP and then make a .cmd file to add the
route if you want though.

It's in the book. Page 291, section 14.10 PPTP Routing Tricks.

Great reply and unbelievably quick too!  Thanks Jim.

291/292 describe how to tell the pfsense box about routes the vpn client has access to.

I'm looking to automatically advertise selected subnets attached (in)directly to the inside of the pfsense box. Right now it gives my mac a second default route - I want the mac to pickup a route to only 10.2.1.0/24 via ppp0.

Doable?

Thanks,

--- David




---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscr...@pfsense.com
For additional commands, e-mail: support-h...@pfsense.com

Commercial support available - https://portal.pfsense.org

Reply via email to