FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
242 views 0 comments
by anonymous

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 anonymous

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