shenek
March 20, 2017, 12:03pm
51
Koleon:
Hey @shenek ,
Finally I got to the openvpn configuration. I’d love to try this settings out. Unfortunately I’m struggling with routing whole traffic throught the router as well as fsteff.
What I tried so far:/etc/config/firewall
config zone ‘vpn_turris’
option name ‘vpn_turris’
option input ‘ACCEPT’
#option forward ‘REJECT’
option forward ‘ACCEPT’
option output ‘ACCEPT’
option masq ‘1’
#list network ‘vpn_turris’
option network ‘vpn_turris’
/etc/config/openvpn # My additional config parameters list push ‘redirect-gateway def1 bypass-dhcp’ list push ‘dhcp-option DNS 192.168.1.1’
Doesn’t work yet. Don’t you have any idea how to make it work please??
EDIT:
Ping from my windows machine:> ping google.com
Pinging google.com [216.58.201.110] with 32 bytes of data:
Reply from 10.111.111.1: Destination port unreachable.
Reply from 10.111.111.1: Destination port unreachable.
Reply from 10.111.111.1: Destination port unreachable.
Reply from 10.111.111.1: Destination port unreachable.
Ping statistics for 216.58.201.110:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Hi,
you’d probably need to add a firewall rule to connect wan and vpn zones as well.
uci set firewall.vpn_turris_forward_wan_out=forwarding
uci set firewall.vpn_turris_forward_wan_out.src=vpn_turris
uci set firewall.vpn_turris_forward_wan_out.dest=wan
uci commit
/etc/init.d/firewall reload