Hi Mimiko,
Mimiko wroteIs the serve behind a router?
I guess so but I'm not sure. I've never been there locally. Can I check this somehow?
Mimiko wroteIs the port forwarded?
You mean the openvpn port? I opened port 1194 on the firewall. Is that what you mean? As I mentioned the openvpn server was working perfectly well until now. I changed nothing, but when I was trying to troubleshoot the issue I tried some different ports... Even when I ssh into my server it is kind of slow now.
I remember I did this when I was configuring the openvpn server back then:
sudo iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
sudo iptables -t nat -A POSTROUTING -o eth0 -s 10.8.0.0/24 -j SNAT --to XXX.XX.XX.XXX
I tried traceroute but it's also not working because it generates an ICMP echo request packet and this had been blocked recently. I guess the government of this country is blocking pings for my public IP address to render my vpn useless. So, I got no result when I try to traceroute from my client to the server.
[USERNAME@HOSTNAME ~]$ traceroute -n XXX.XX.XX.XXX
traceroute to XXX.XX.XX.XXX (XXX.XX.XX.XXX), 30 hops max, 60 byte packets
1 <REDACTED> 2.303 ms 3.567 ms 3.761 ms
2 <REDACTED> 20.289 ms 107.754 ms 107.912 ms
3 <REDACTED> 23.157 ms 25.744 ms 26.005 ms
4 <REDACTED> 32.542 ms 35.501 ms 36.166 ms
5 <REDACTED> 40.060 ms <REDACTED> 40.313 ms 40.444 ms
6 <REDACTED> 40.627 ms 38.923 ms <REDACTED> 39.126 ms
7 <REDACTED> 48.808 ms 32.220 ms 34.330 ms
8 <REDACTED> 46.642 ms <REDACTED> 52.055 ms <REDACTED> 47.993 ms
9 <REDACTED> 120.384 ms <REDACTED> 123.479 ms <REDACTED> 122.344 ms
10 <REDACTED> 195.185 ms <REDACTED> 189.698 ms <REDACTED> 199.108 ms
11 <REDACTED> 197.881 ms 195.985 ms 192.131 ms
12 * * <REDACTED> 444.398 ms
13 <REDACTED> 454.728 ms * *
14 * <REDACTED> 453.376 ms *
15 <REDACTED> 498.935 ms * 495.270 ms
16 * <REDACTED> 495.940 ms *
17 <REDACTED> 478.728 ms * *
18 * <REDACTED> 483.698 ms 491.110 ms
19 * * <REDACTED> 494.315 ms
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
but other stuff works:
ping yahoo.com
traceroute yahoo.com