blaser DD-WRT Guru
Joined: 16 Jul 2006 Posts: 525
|
Posted: Tue Jul 13, 2010 23:50 Post subject: incoming connection to openvpn not working |
|
I installed openvpn build hoping to get it running.
I configured everything and was able to connect to the openvpn server from the LAN side but no luck from the WAN side.
my RC firewall config file is:
iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT
iptables -I INPUT -p tcp --dport 1194 -j ACCEPT
running iptables -L the results are:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT 0 -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:1194
ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
DROP udp -- anywhere anywhere udp dpt:route
DROP udp -- anywhere anywhere udp dpt:route
ACCEPT udp -- anywhere anywhere udp dpt:route
DROP icmp -- anywhere anywhere
DROP igmp -- anywhere anywhere
ACCEPT 0 -- anywhere anywhere state NEW
logaccept 0 -- anywhere anywhere state NEW
DROP 0 -- anywhere anywhere
ACCEPT 0 -- anywhere anywhere
ACCEPT 0 -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT gre -- 192.168.1.0/24 anywhere
ACCEPT tcp -- 192.168.1.0/24 anywhere tcp dpt:1723
ACCEPT 0 -- anywhere anywhere
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
lan2wan 0 -- anywhere anywhere
ACCEPT 0 -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere server tcp dpt:telnet
ACCEPT tcp -- anywhere server tcp dpt:www
ACCEPT tcp -- anywhere server tcp dpt:https
TRIGGER 0 -- anywhere anywhere TRIGGER type:in match:0 relate:0
trigger_out 0 -- anywhere anywhere
ACCEPT 0 -- anywhere Viatalk
ACCEPT 0 -- anywhere anywhere state NEW
DROP 0 -- anywhere anywhere
ACCEPT 0 -- anywhere anywhere
Trying to connect from the outside, scanning my computer with port scanner shows that port 1194 is not responding.
I'm running dd-wrt.v24-14684_NEWD-2_K2.6_openvpn_small.bin on wrt160n v3
any help will be helpful. |
|