ER605 OpenVPN is always in Full Mode

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

ER605 OpenVPN is always in Full Mode

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
ER605 OpenVPN is always in Full Mode
ER605 OpenVPN is always in Full Mode
2023-02-09 19:20:53 - last edited 2023-02-09 19:21:53
Tags: #VPN #Issue
Model: ER605 (TL-R605)  
Hardware Version: V2
Firmware Version: 2.1.1 Build 20230115 Rel.77774

Hello, 

Since the last firmware update, which added Full Mode for OpenVPN traffic, the VPN works only in full mode even when it is unchecked.

Current config:

Am I the only one who encounters this behaviour?

Kind regard!

  0      
  0      
#1
Options
10 Reply
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 06:44:32

Dear  @ispeaknousa 

 

Thank you for your feedback. 

 

Did you re-generate the OpenVPN configure file and apply the new file on your client devices? 

Best Regards! >> Omada EAP Firmware Trial Available Here << >> Get the Latest Omada SDN Controller Releases Here << *Try filtering posts on each forum by Label of [Early Access]*
  0  
  0  
#2
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 07:07:02

Hi @Hank21

 

Thanks for the reply! 

 

I did. I also compared the new .ovpn with the one generated when the Full Mode was enabled, and the only difference where the keys. 

 

Kind regards! 

  0  
  0  
#3
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 12:05:28

  @ispeaknousa Why are you using your local mask as 16 bits and for VPN mask is 24 bits, running in the same network addresses/segments?

 

  0  
  0  
#4
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 12:17:47

Hi @ObiWanKenobi,

 

I'd like that all VPN ips to be in 192.168.1.*, but the VPN clients should be able to access both 192.168.0.* and 192.168.1.* .


Kind regards!

  0  
  0  
#5
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 12:21:31

  @ispeaknousa IMO the mask should be 24 (192.168.0.1/24 192.168.0.0/24), and reach networks via NAT/Firewall and not via mask.

  0  
  0  
#6
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 12:43:05

Hi @ObiWanKenobi ,

 

Well, I'm still in the designated "private network" allocation, so that shouldn't be a problem (I can confirm that clients can access desired resources).
The issue I'm facing is that the clients do cross into internet through VPN.

 

Kind regards!

  0  
  0  
#7
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 14:08:13 - last edited 2023-02-10 14:09:36

  @ispeaknousa 

 

Hi there, try to manually edit the .ovpn file, search for option

redirect-gateway def1

and put an hash before text, like #redirect-gateway def1

save and import the modified .ovpn file on client.

 

 

 

  0  
  0  
#8
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 14:31:00

Hi @Liuck1975,

 

Unfortunately I don't have the option.
This is the .ovpn config (until the certificates part):

 

client
dev tun
proto udp
float
nobind
cipher AES-128-CBC
comp-lzo no
resolv-retry infinite
remote-cert-tls server
persist-key
auth-user-pass
remote <IP> 1194

 

Kind regards!

  0  
  0  
#9
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-10 15:07:47

ispeaknousa wrote

Hi @Liuck1975,

 

Unfortunately I don't have the option.
This is the .ovpn config (until the certificates part):

 

client
dev tun
proto udp
float
nobind
cipher AES-128-CBC
comp-lzo no
resolv-retry infinite
remote-cert-tls server
persist-key
auth-user-pass
remote <IP> 1194

 

Kind regards!

  @ispeaknousa 

I found on the openvpn site the following instruction that could be useful for your scope:

 

Method 2: ignore

There are 2 options that can be used to ignore routes pushed by the server:

--route-noexec 
 Don't add or remove routes automatically. Instead pass routes to --route-up script using environmental variables. 
--route-nopull 
 When used with --client or --pull, accept options pushed by server EXCEPT for routes and dhcp options like DNS servers. 
 When used on the client, this option effectively bars the server from adding routes to the client's routing table, however note

 

You can give it a chance!!! :)

  0  
  0  
#10
Options
Re:ER605 OpenVPN is always in Full Mode
2023-02-11 14:08:21

Hi @Liuck1975,

 

Thank you very much for the options, but my problem is not necessarily of being routed on my PC (I'm on Linux and can configure which traffic to go where), but on every other device (mobile phone, relative's hardware) the options should also be set.

This fix would be only client-side for a server-side issue. The fact is that the server routes traffic outside the network even if it shouldn't. That's what I want to stop from happening (both from client configuration convenience and security perspective).

I'm kind of hoping to get a confirmation if it's a firmware issue, or if someone has it working on ER605 v2.0 in which case it's my router's issue. 

 

Kind regards!

  0  
  0  
#11
Options