binshift31
Using the following to set up client and server on Ubuntu 20.04 server and Kali 2021.4 as client.
I used the following post to setup client and server https://markontech.com/sysadmin/setup-openvpn-server-on-ubuntu/
After setting up iptables and running nmap -sU -p 1194 <ip addr>
I get the following:
PORT STATE SERVICE
1194/udp open|filtered openvpn
I moved the .ovpn file to the client.
I installed ufw and opened the 1194 port om the client:
I run sudo ufw status and it shows that udp and tcp ports are Allowed
I then try to start the client with: sudo openvpn --config <file,ovpn>
while the client is running I run the following sudo nmap -sU -p 1194 <ip addr>
The results are:
Port State Service
1194/udp closed openvpn
I also run sudo netstat -plntu
Results
Proto Recv-Q Send-Q Local Address Foreign Address PID/Program name
udp 0 0 0.0.0.0:57123 0.0.0:* 116785/openvpn
Any ideas on what my issue is would be greatly appreciated
Thanks