ubuntu 22 openvpn server to pfsense connects but no traffic
-
Hi
i have a pbx in teh cloud and i installed openvpn using https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh
after opening port 1194 in iptables, and importing the ovpn file into pfsense, i have a successful connection, but nothing is accessible over the vpn tunnel back to the pbx server.
if i take the SAME exact ovpn file and import it into openvpn in android app, then i have full access using the vpn tunnel back to the server.
can anyone help me with this? attached is the ovpn file (ip address removed)on the server side, changes were made to only route client VPN traffic through the OpenVPN server.
as follows:
sed -e '/redirect-gateway d/s/^/#/' -i openvpn-install.sh
sed -e '/redirect-gateway ipv6/s/^/#/' -i openvpn-install.sh
sed -i 's|tls-client|tls-client\npull-filter ignore "redirect-gateway"|' openvpn-install.shThank you for your help.
Ben haiku.txt -
@ariban99 can anyone help with this?
-
What are your rules in Firewall / Rules / OpenVPN
No according rules, no traffic
-
@eagle61 i have the rule, see attached screenshot!
-
Is ufw activated on your ubuntu-Server?
-
@eagle61 no its inactive.
i did whitelist in iptables the port 1194 and the tunnel 10.8.0.0/24
also as mentioned, in android phones with the client app openvpn, it works perfect! its only on pfsense client that its not working! so its not a firewall or port issue! -
just checking back if anyone knows why the connection works perfectly in android but wont work at all in pfsense firewall?