Openvpn does not work when connecting an ip in file explorer

alberto2132

Dabbler
Joined
Mar 30, 2023
Messages
28
When I try to connect to the network where it is, you thunder from a different network, it gives me an error.
These are the settings I've made:
1683546065554.png


Description = NAT Rule 1
Type = Command
Command = nft add table ip nat
When = Post Init

Description = NAT Rule 2
Type = Command
Command = nft 'add chain ip nat prerouting { type nat hook prerouting priority 0 ; }'
When = Post Init

Description = NAT Rule 3
Type = Command
Command = nft 'add chain ip nat postrouting { type nat hook postrouting priority 100 ; }'
When = Post Init

Description = NAT Rule 4
Type = Command
Command = nft 'add rule nat postrouting iifname $openvpn_interface_name oifname $network_interface_name saddr $vpn_subnet/24 masquerade'
When = Post Init
1683546238763.png


1683546256475.png
 
Top