hello friends,
can't solve following problem:
want use raspberry pi 3g vpn rouher. connect:
3g modem e3131 (ppp0)
wifi card tp-link: wn 725n (wlan0)
install sakis3g , umtskeeper. both work great, internet work ok
after install openvpn, whan start internet on pi not work. able connect pc on wlan0 , vpn work. unfotunatelly after few minutes vpn drop on pi. in result there no internet on pc , pi.
iptables: put tun0 , wlan0 because don't care if vpn work on pi. propably because there no internet on pi vpn drop.
interfaces: route without vpn:
route vpn error vpn:
why vpn drop after few min ?
how working internet on pi when vpn on ?
can't solve following problem:
want use raspberry pi 3g vpn rouher. connect:
3g modem e3131 (ppp0)
wifi card tp-link: wn 725n (wlan0)
install sakis3g , umtskeeper. both work great, internet work ok
after install openvpn, whan start internet on pi not work. able connect pc on wlan0 , vpn work. unfotunatelly after few minutes vpn drop on pi. in result there no internet on pc , pi.
iptables:
code: select all
# generated iptables-save v1.4.21 on tue may 3 18:02:06 2016 *nat :prerouting accept [75:14892] :input accept [3:734] :output accept [5:487] :postrouting accept [3:335] -a postrouting -o tun0 -j masquerade commit # completed on tue may 3 18:02:06 2016 # generated iptables-save v1.4.21 on tue may 3 18:02:06 2016 *filter :input accept [20:3124] :forward accept [12:936] :output accept [29:5147] -a forward -i tun0 -o wlan0 -m state --state related,established -j accept -a forward -i wlan0 -o tun0 -j accept commit # completed on tue may 3 18:02:06 2016
interfaces:
code: select all
# include files /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet static address 192.168.43.1 netmask 255.255.255.0 iptables-restore < /etc/iptables.ipv4.nat
code: select all
kernel ip routing table destination gateway genmask flags metric ref use iface default 10.64.64.64 0.0.0.0 ug 0 0 0 ppp0 10.64.64.64 * 255.255.255.255 uh 0 0 0 ppp0 link-local * 255.255.0.0 u 303 0 0 wlan0 192.168.43.0 * 255.255.255.0 u 0 0 0 wlan0
code: select all
kernel ip routing table destination gateway genmask flags metric ref use iface default 10.4.0.1 128.0.0.0 ug 0 0 0 tun0 default 10.64.64.64 0.0.0.0 ug 0 0 0 ppp0 10.4.0.0 * 255.255.0.0 u 0 0 0 tun0 10.64.64.64 * 255.255.255.255 uh 0 0 0 ppp0 128.0.0.0 10.4.0.1 128.0.0.0 ug 0 0 0 tun0 link-local * 255.255.0.0 u 303 0 0 wlan0 192.168.43.0 * 255.255.255.0 u 0 0 0 wlan0 195.154.194.18 10.64.64.64 255.255.255.255 ugh 0 0 0 ppp0
code: select all
fri may 6 11:21:48 2016 authenticate/decrypt packet error: bad packet id (may replay): [ #480 ] -- see man page entry --no-replay , --replay-window more info or silence warning --mute-replay-warnings fri may 6 11:22:37 2016 authenticate/decrypt packet error: bad packet id (may replay): [ #512 ] -- see man page entry --no-replay , --replay-window more info or silence warning --mute-replay-warnings fri may 6 11:26:16 2016 [server] inactivity timeout (--ping-restart), restarting fri may 6 11:26:16 2016 sigusr1[soft,ping-restart] received, process restarting fri may 6 11:26:16 2016 restart pause, 2 second(s) fri may 6 11:26:18 2016 socket buffers: r=[163840->131072] s=[163840->131072]
why vpn drop after few min ?
how working internet on pi when vpn on ?
raspberrypi
Comments
Post a Comment