FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12658 questions

15038 answers

24075 comments

46992 members

0 votes
151 views 0 comments
by

Hi, I'm looking for help troubleshooting an openvpn connection - two actually.

Web UI shows "connected" but when I go to ifconfig, tun0 and tun1doesn't show up. 

When attempting to create routing tables ::

root@Teltonika-RUTX12:/etc# /etc/init.d/vpn-policy-routing restart

vpn-policy-routing 0.3.4-8 stopped [✓]

Creating table 'wan/eth1/0.0.0.0' [✓]

Creating table 'lan_usa/tun1/10.8.2.4' [✗]

Creating table 'lan_hol/tun0/10.8.2.10' [✗]

Routing 'blank' via ignore [✓]

Routing 'blank' via vpn_usa [✗]

Routing 'blank' via vpn_hol [✗]

vpn-policy-routing 0.3.4-8 monitoring interfaces: wan lan_usa lan_hol [✓]

vpn-policy-routing 0.3.4-8 started with gateways:

wan/eth1/0.0.0.0

ERROR: Failed to set up 'lan_usa/tun1/10.8.2.4'

ERROR: Failed to set up 'lan_hol/tun0/10.8.2.10'

ERROR: Policy 'blank' has unknown interface: 'vpn_usa'

ERROR: Policy 'blank' has unknown interface: 'vpn_hol'

WARNING: The 'ignore' target is used by a policy 'blank', but a WebUI setting to show 'ignore' target (webui_show_ignore_target) is disabled!

Any ideas on how to solve / troubleshoot?

Many thanks, 

1 Answer

0 votes
by

Hi,

Please download and share the "troubleshoot" file after running the command /etc# /etc/init.d/vpn-policy-routing restart.

Also, please see the config samples for reference :  https://wiki.teltonika-networks.com/view/OpenVPN_configuration_examples

Thanks