User Tools

Site Tools


documentation:examples:gre_ipsec_and_openvpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:examples:gre_ipsec_and_openvpn [2019/11/05 22:25] – [VTI Tunnel without IKE] olivierdocumentation:examples:gre_ipsec_and_openvpn [2020/01/12 17:56] – [Router 2] olivier
Line 79: Line 79:
  
 <code> <code>
-sysrc hostname=R1 +sysrc hostname=R1 \ 
-sysrc gateway_enable=NO + gateway_enable=NO \ 
-sysrc ipv6_gateway_enable=NO + ipv6_gateway_enable=NO \ 
-sysrc ifconfig_em0="inet 10.0.12.1/24" + ifconfig_em0="inet 10.0.12.1/24" \ 
-sysrc ifconfig_em0_ipv6="inet6 2001:db8:12::1 prefixlen 64" + ifconfig_em0_ipv6="inet6 2001:db8:12::1 prefixlen 64" \ 
-sysrc defaultrouter=10.0.12.2 + defaultrouter=10.0.12.2 \ 
-sysrc ipv6_defaultrouter=2001:db8:12::2+ ipv6_defaultrouter=2001:db8:12::2
 ifconfig -l | grep -q vtnet && sed -i "" 's/em/vtnet/g' /etc/rc.conf ifconfig -l | grep -q vtnet && sed -i "" 's/em/vtnet/g' /etc/rc.conf
 hostname R1 hostname R1
Line 97: Line 97:
  
 <code> <code>
-sysrc hostname=R2 +sysrc hostname=R2 \ 
-sysrc ifconfig_em0="inet 10.0.12.2/24" +  ifconfig_em0="inet 10.0.12.2/24" \ 
-sysrc ifconfig_em0_ipv6="inet6 2001:db8:12::2 prefixlen 64" +  ifconfig_em0_ipv6="inet6 2001:db8:12::2 prefixlen 64" \ 
-sysrc ifconfig_em1="inet 10.0.23.2/24" +  ifconfig_em1="inet 10.0.23.2/24" \ 
-sysrc ifconfig_em1_ipv6="inet6 2001:db8:23::2 prefixlen 64" +  ifconfig_em1_ipv6="inet6 2001:db8:23::2 prefixlen 64" \ 
-sysrc defaultrouter="10.0.23.3" +  defaultrouter="10.0.23.3" \ 
-sysrc ipv6_defaultrouter="2001:db8:23::3"+  ipv6_defaultrouter="2001:db8:23::3"
 ifconfig -l | grep -q vtnet && sed -i "" 's/em/vtnet/g' /etc/rc.conf ifconfig -l | grep -q vtnet && sed -i "" 's/em/vtnet/g' /etc/rc.conf
 hostname R2 hostname R2
documentation/examples/gre_ipsec_and_openvpn.txt · Last modified: 2023/07/10 12:40 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki