route-to rule.

Chris Dionissopoulos dionch at freemail.gr
Tue Jan 25 10:44:42 PST 2005


Hi,

For vpn problem:
Is routing already set in both sides?

pf-box:
route add 10.0.0.0/26 <tun0_other_peer_IP>

Other vpn end:
route add 10.0.1.0/24 <tun0_pf_box_IP>


For DNS problem:
You have to decide which gateway pf-box will use
as default for own connections (default gateway is missing).
route add default <gw1> |<gw2> maybe solves it.

Chris.



----- Original Message ----- 
From: "Stephane Raimbault" <segr at hotmail.com>
To: <dionch at freemail.gr>; <freebsd-pf at freebsd.org>
Sent: Tuesday, January 25, 2005 8:17 PM
Subject: Re: route-to rule.


> Well this is odd.. I gave this a try... and the tun interface wasn't able 
> to pass traffic between the 2 lan's
>
> 10.0.0.0/26 is the remote lan, and 10.1.0.0/24 is the local lan.
>
> and dns stopped working for the local lan... I have a caching dns server 
> configured on the pf box, and even that couldn't resolve anything despite 
> still having good network connections to the 2 wan's
>
> Any idea what's missing?
>
> Thanks,
> sTephane.
>


____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.


More information about the freebsd-pf mailing list