FunkyLoiso / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

Openvpn bridge mode on r5638 #457

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The openvpn not correct running on 5638 firmware on RTN-16 router.
I have not any access to local resources after connection to openvpn.
I can connect to vpn server only.
Due to this I had to return r5066 firmware.

post-firewall part for openvpn:
iptables -A INPUT -p udp --dport 1195 -j ACCEPT
iptables -A FORWARD -i tap+ -j ACCEPT
iptables -A FORWARD -o tap+ -j ACCEPT

openvpn start-up script (part only):
br="br0"
tap="tap0"
if [ $1 = "start" ]; then
    openvpn --mktun --dev $tap
    brctl addif $br $tap
    ifconfig $tap 0.0.0.0 promisc up
fi
. /opt/etc/init.d/rc.func

Next issue (long time). Please can you return usbhid module to the firmware. I 
am not able to connect with my UPS.

Thank you

Original issue reported on code.google.com by j...@seznam.cz on 8 Nov 2014 at 10:03

GoogleCodeExporter commented 9 years ago
Problem persist in firmware r5646.
I tried to configure it in tun/tap options (both modes).
Ping command have access into inside network after connection but all other 
services not (ssh,http).
Moreover openvpn daemon is impossible to stop (killall) after connection 
(tested in tun mode).
Use anybody the openvpn together with new firmware?

Correction: usbhid module exist for new firmware.

Original comment by j...@seznam.cz on 26 Dec 2014 at 10:09