Last active
December 1, 2015 01:22
-
-
Save rriifftt/53f552a3c06a1c8558d0 to your computer and use it in GitHub Desktop.
SSG140 を使って AWS VPC への VPN を複数構築 ref: http://qiita.com/satoshi_iwashita/items/eca3ae6dfe2dd0baa16a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set vrouter name "test-vr" sharable | |
set vrouter "test-vr" | |
unset auto-route-export | |
set ignore-subnet-conflict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set zone name "test" | |
set zone "test" vrouter "test-vr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set interface ethernet0/* zone "test" | |
set interface ethernet0/* ip ***.***.***.***/32 | |
set interface ethernet0/* nat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set policy top from "test" to "Trust" "Any" "Any" "ANY" permit log | |
set policy top from "Trust" to "test" "Any" "Any" "ANY" permit log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set vrouter "trust-vr" | |
set route 10.1.0.0/16 vrouter "test-vr" preference 20 | |
set route 169.254.252.**/30 vrouter "test-vr" preference 20 | |
set route 169.254.252.**/30 vrouter "test-vr" preference 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set vrouter "test-vr" | |
set route 0.0.0.0/0 interface ethernet0/* gateway ***.***.***.***/32 | |
set route 10.1.0.0/16 interface tunnel.3 gateway 169.254.252.** | |
set route 10.1.0.0/16 interface tunnel.4 gateway 169.254.252.** | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment