Milí majitelé routerů Turris,
toto fórum bylo 9. 12. 2016 zmrazeno a nahrazeno naším novým Turris fórem. Ještě chvíli bude dostupné k prohlížení, ale již zde není možné přispívat. Více informací naleznete v oznámení o uzavření fóra.
Dear Turris routers users,
this forum has been frozen on Dec 9th, 2016 and replaced by our new Turris forum. It will be read-only accessible for some time after. For more information, read the announcement about closing the forum.
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option _orig_ifname 'eth0 eth1 radio0.network1'
option _orig_bridge 'true'
option ifname 'eth0 eth1 tun0'
config interface 'vpn'
option ifname 'tun0'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.2.1'
option gateway '192.168.1.1'
option dns '192.168.1.1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'lan wan vpn'
config zone
option name 'vpn'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network 'vpn'
config forwarding
option src 'lan'
option dest 'wan'
config forwarding
option dest 'lan'
option src 'vpn'
config forwarding
option dest 'wan'
option src 'vpn'
config forwarding
option dest 'vpn'
option src 'lan'
config 'openvpn' 'lan'
option 'enable' '1'
option 'tls_server' '1'
option 'port' '1194'
option 'proto' 'udp'
option 'dev' 'tun'
option ca /etc/easy-rsa/keys/ca.crt
option cert /etc/easy-rsa/keys/server.crt
option key /etc/easy-rsa/keys/server.key
option dh /etc/easy-rsa/keys/dh2048.pem
list 'push' 'dhcp-option DNS 192.168.1.1'
list 'push' 'redirect-gateway def1'
option 'client_to_client' '1'
option 'server' '192.168.2.0 255.255.255.0' #segment pro VPN klienty
list 'push' 'route 192.168.1.0 255.255.255.0'
option 'comp_lzo' 'yes'
option 'keepalive' '10 120'
option 'status' '/tmp/openvpn_tun0.status'
# option 'log_append' '/var/log/openvpn.log' #povolit pouze pro debug
option 'persist_key' '1'
option 'persist_tun' '1'
option 'verb' '3'
Powered by mwForum 2.29.3 © 1999-2013 Markus Wichitill