116 reputation
17
bio website twitter.com/tjernlund
location Bougy-Villars, Switzerland
age 39
visits member for 2 years, 10 months
seen Feb 18 at 0:23

Oct
1
awarded  Notable Question
Jan
2
awarded  Popular Question
Dec
14
awarded  Popular Question
Sep
29
accepted Any way to know what files were in a broken ZFS pool?
Apr
15
asked Any way to know what files were in a broken ZFS pool?
Feb
13
comment How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
I'd like a specific internal host or maybe an entire internal subnet — the important part is that it's not everything — to go out the VPN. All other internal traffic should go out the normal em0 way.
Feb
12
comment How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
Firstly, yes, I can ping the VPN address (98.158.118.1). That address replies to ping even without the VPN, but I think my pings are going through the tunnel because I can see the traffic if i do a tcpdump -i ng0. Lots of trying stuff has led me to believe, like you suggest, that it's the NAT that's the problem. I'll have a closer look at the ipfw stuff you suggest ...
Feb
11
comment How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
I should clarify my previous comment. No, the VPN doesn't work in full (that's a big part of my original question). There's an network interface after starting mpd5 (ng0), but there's no routing information (neither manual nor any script run by the mpd5 configuration — see above from mpd.conf). So when I say that the "VPN connection works", I mean that mpd5 connects to the VPN server and I get a ng0 interface on the router, but that's it.
Feb
11
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
added picture of network and background information about routing tables etc
Feb
11
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
again trying to explain the question and how little I really understand about routing and VPNs
Feb
11
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
again trying to explain the question and how little I really understand about routing and VPNs
Feb
11
comment How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
As far as I can tell the VPN connection works. The output from mpd5 looks good and stuff like show link indicates there's a proper connection. I get a network interface – ng0 – with an ip address. But my problem, as I've clearly explained, is that I don't know how to get any traffic to use the VPN connection. There's no route, no pf rules, nothing. So how could it work? (And it doesn't). That's my whole question: how do I get traffic to use the VPN.
Feb
11
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
changed title to better reflect the general question
Feb
11
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
removed configuration information after being told it's "non-sense"
Feb
11
awarded  Promoter
Feb
11
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
added information about testing a manual route and seeing traffic coming back to the server ; deleted 13 characters in body
Feb
10
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
removed unnecessary mention of PPTP in title
Feb
10
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
changed the phrasing of the question
Feb
9
revised How do I get internal hosts to use a VPN connection set up on a FreeBSD router?
clarification of objective
Feb
9
asked How do I get internal hosts to use a VPN connection set up on a FreeBSD router?