Skip to content

Instantly share code, notes, and snippets.

Aaron Mason thirdwheel

Block or report user

Report or block thirdwheel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@thirdwheel
thirdwheel / ipsec.conf
Created Dec 23, 2018
IPSec connection from behind NAT
View ipsec.conf
# 10.0.0.21 is the "public" IP address - local is 10.40.180.50 (DHCP)
ike esp from 10.0.0.21 to 10.0.0.23
# 10.255.255.253 is the IP on this side of a gif(4) tunnel, the other is the other side
ike esp from 10.255.255.253 to 10.255.255.252 peer 10.0.0.23
# ifconfig output at https://pasteboard.co/HT0kGu7.png
# tcpdump output at https://pasteboard.co/HT0m2JA.png
You can’t perform that action at this time.