Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

problem with openvpn server

edited October 2017 in Help

hi , i have openvpn server on ubuntu 14.04 and i have access 2 router and go internet 2 different getaway. openvpn serevr work fine when i have getaway 10.0.0.253 but when i have no internet via 10.0.0.253 i change usualy getaway with 10.0.0.213, so internet access is fine but openvpn doesn't wotk. what can i do to solve this problem help me please.

there is my ifconfig

eth0 Link encap:Ethernet HWaddr d8:d3:85:e6:b0:52
inet addr:10.0.0.250 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::dad3:85ff:fee6:b052/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:979183863 errors:0 dropped:0 overruns:0 frame:0
TX packets:1335168326 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:193808891792 (193.8 GB) TX bytes:1389808749945 (1.3 TB)
Interrupt:16

eth1 Link encap:Ethernet HWaddr d8:d3:85:e6:b0:53
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:327545075 errors:0 dropped:0 overruns:0 frame:0
TX packets:327545075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:167487021428 (167.4 GB) TX bytes:167487021428 (167.4 GB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:38888664 errors:0 dropped:0 overruns:0 frame:0
TX packets:25807852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8631835870 (8.6 GB) TX bytes:1124114636 (1.1 GB)

on this moment my getaway is 10.0.0.253

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.253 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0

openvpn work fine as i say, but if i change getaway vith 10.0.0.213 then i have problem as i say help me

Comments

  • mlimli Member

    Maybe the gateway at 10.0.0.213 doesn't allow incoming traffic to your OpenVPN port or your public IP address through that gateway is different than with 10.0.0.253.

  • my public ip is different of course for both getaway but both router has ip forfarding in config list, so i have no idea what is problem

Sign In or Register to comment.