ngkrich DD-WRT Novice
Joined: 30 Apr 2017 Posts: 24
|
Posted: Sun Apr 30, 2017 0:38 Post subject: Open VPN First Server - 24+ Hours Trying |
|
Completely new to networking and this has been driving me insane for the better part of 4 days now. I have read 5 tutorials and cannot seem to get any of them to work.
Additional Config
Code: | push "route 10.217.64.55 255.255.255.0"
push "dhcp-options DNS 10.217.64.186"
server 10.217.88.0 255.255.255.0
dev tun0
proto udp
keepalive 10 120 |
Code for the client
Code: | remote myip 1194
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-256-cbc
float
tun-mtu 1400
ca ca.crt
cert client2.crt
key client2.key
ns-cert-type server
comp-lzo
verb 3 |
I tried disabling the firewall in DDWRT, but that had no effect. Here are the IPtables I am currently using, though I have tried about 20 iterations.
Code: | iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 10.217.88.0/24 -j ACCEPT
iptables -I FORWARD 1 --source 10.217.88.1/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.217.88.1/24 -o br0 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 10.217.88.1/24 -j MASQUERADE
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT |
I am sure I am doing something hilariously wrong, but I cannot grasp it with all the poor tutorials.
I suspect it has to do with the fact that I can not seem to get a service to see 1194 as if it were open. Despite the fact that I have the IP table configured. |
|