based on:
2015-07-02 12:31:18: ERROR: Expecting IP address type in main mode, but User_FQDN.
MacOS
FreeBSD
Linux
Windows
easy ipsec configuration
MacOS
FreeBSD
Linux
| Protocol | v4 | v6 |
|---|---|---|
| INPUT | DROP | DROP |
| FORWARD | DROP | DROP |
| OUTPUT | DROP | DROP |
| icmp | ACCEPT | ---- |
| icmpv6 | ---- | ACCEPT |
| dhcp | ACCEPT | ---- |
| ssh* | ACCEPT | ACCEPT |
| cifs* | ACCEPT | ACCEPT |
| udp 500 | ACCEPT | ACCEPT |
| udp 4500 | ACCEPT | ACCEPT |
| esp | ACCEPT | ACCEPT |
| broadcast | DROP | ---- |
| multicast | DROP | DROP |
| openvpn** | ALL | ALL |
* allow only outgoing connections
** allow all openvpn traffic
set static/permanent arp entry for the ipsecgatewayip
Windows
# ./easy_ipsec.sh
Set-ExecutionPolicy Unrestricted
PS C:\github\easy_ipsec> .\easy_ipsec_win.ps1
04.10.2015: MacOS X Tunnelblick add useless route for openvpn routing (without removal routing is broken!)
22.08.2015: FQDN policy resolving problems
ipsec[7812]: 08[IKE] IDir 'IP' does not match to 'FQDN'
64 bytes from 172.31.254.254: icmp_seq=4931 ttl=64 time=18 ms
64 bytes from 172.31.254.254: icmp_seq=4945 ttl=64 time=16 ms
NONESP-encap: isakmp: phase 1 I ident
NONESP-encap: isakmp: phase 1 R ident
NONESP-encap: isakmp: phase 1 I ident[E]
NONESP-encap: isakmp: phase 1 R ident[E]
NONESP-encap: isakmp: phase 1 ? oakley-quick[E]
NONESP-encap: isakmp: phase 2/others ? inf[E]
NONESP-encap: isakmp: phase 2/others ? oakley-quick[E]
Content type
Image
Digest
Size
87 MB
Last updated
almost 11 years ago
docker pull plitc/easy_ipsec