Hello
I have a problem with VPN settings . Here is my previous topic https://www.snbforums.com/threads/openvpn-configuration-ip-leak.50334/
I used the way with jffs firewall script, to block wan . And it seemed to me that everything was ok, but lately i had power outage, so the router and computers have turned off. But when power come back, I immediately connected to the router and found that the computer connected to internet via wan, without vpn for like few seconds, and then go via vpn.
In /jffs/scripts/ i opened file firewall-start and paste there exactly this:
Why did this happen? Maybe I have set up something wrong?
I have a problem with VPN settings . Here is my previous topic https://www.snbforums.com/threads/openvpn-configuration-ip-leak.50334/
I used the way with jffs firewall script, to block wan . And it seemed to me that everything was ok, but lately i had power outage, so the router and computers have turned off. But when power come back, I immediately connected to the router and found that the computer connected to internet via wan, without vpn for like few seconds, and then go via vpn.
In /jffs/scripts/ i opened file firewall-start and paste there exactly this:
Code:
iptables -D FORWARD -i br0 -s 192.168.1.6,192.168.1.33,192.168.1.16 -o $(nvram get wan0_ifname) -j DROP
iptables -I FORWARD -i br0 -s 192.168.1.6,192.168.1.33,192.168.1.16 -o $(nvram get wan0_ifname) -j DROP
Why did this happen? Maybe I have set up something wrong?