SixXS::Sunset 2017-06-06

Open/FreeBSD Two Tunnels
[si] Carmen Sandiego on Saturday, 15 January 2005 20:34:48
If anyone here wants to have two tunnels on their open/freebsd server and he wants that tunnels are routed the right way this is the thing: on OpenBSD you can solve this problem with 'pf' like so: let's say that you have two gif interfaces: gif0 (as default route) and gif1 pass out on gif0 route-to (gif1 POPIPv6) inet6 from YOURIPV6/128 to any (thats for peer tunnel) pass out on gif0 route-to (gif1 POPIPv6) inet6 from YOURSUBNET6/48 to any (thats for subnets) on FreeBSD you can solve this with ipf (but if your kernel doesnt support, well, rebuild it) let's say that you have two gif interfaces: gif0 (as default route) and gif1 pass out on gif0 to gif1:POPIPv6) inet6 from YOURIPV6/128 to any (yes there is : after gif1 not a smilie!) pass out on gif0 to gif1:POPIPv6) inet6 from YOURSUBNET6/48 to any So all the packets are routed throu their respective POPs:) All this is tested and works. I used OpenBSD 3.6 and FreeBSD 5.3 Why i wrote this, i found a lot of people having problems with this and i was one of them. If you can help yourself with this post, my work is done. :) Cheers!
Open/FreeBSD Two Tunnels
[nl] Shadow Hawkins on Thursday, 10 February 2005 04:18:03
You may also find this article interesting: http://www.bsdnews.org/01/policy_routing.php . Cheers, -- Thomas E. Spanjaard

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker