OpenVPN server running ok, but no LAN or internet access

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

OpenVPN server running ok, but no LAN or internet access

Postby gecko » Sun May 20, 2018 11:17 pm

Hello. I’ve installed the openvpn package on my aarch64 rpi3, and have it setup as a server. However, I am experiencing the exact same issues as described in this thread https://archlinuxarm.org/forum/viewtopic.php?f=31&t=9283 however the solutions provided there haved not worked for me.

The server starts correctly usaing a systemd service. What’s more is I can connect to the server from the internet outside the LAN, and I can ping the vpn server address as well as the LAN ip address of the pi. I can even access the pi via ssh through the VPN when outside the lan. I just can’t ping any other devices on the lan or access the internet. Whast’s strange is that, even though I can ping the pi and access the ssh server, I can’t access a web server that iks running on the pi through a browser.

At any rate, I’m assuming it must be a routing issue, but I have entered $this->bbcode_second_pass_code('', 'iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE') and am at a lost as to what more I can do.

Iptables-save outputs the following:

$this->bbcode_second_pass_code('', '
# Generated by iptables-save v1.6.2 on Sun May 20 13:12:01 2018
*filter
:INPUT ACCEPT [12075:9348318]
:FORWARD ACCEPT [1716:187730]
:OUTPUT ACCEPT [7476:643730]
COMMIT
# Completed on Sun May 20 13:12:01 2018
# Generated by iptables-save v1.6.2 on Sun May 20 13:12:01 2018
*nat
:PREROUTING ACCEPT [1304:187835]
:INPUT ACCEPT [951:165405]
:OUTPUT ACCEPT [41:2791]
:POSTROUTING ACCEPT [3:121]
-A POSTROUTING -s 192.168.150.0/24 -j MASQUERADE
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
COMMIT
# Completed on Sun May 20 13:12:01 2018
# Generated by iptables-save v1.6.2 on Sun May 20 13:12:01 2018
*mangle
:PREROUTING ACCEPT [13875:9543188]
:INPUT ACCEPT [12155:9354706]
:FORWARD ACCEPT [1716:187730]
:OUTPUT ACCEPT [7563:651330]
:POSTROUTING ACCEPT [9285:839372]
COMMIT
# Completed on Sun May 20 13:12:01 2018
# Generated by iptables-save v1.6.2 on Sun May 20 13:12:01 2018
*raw
:PREROUTING ACCEPT [13875:9543188]
:OUTPUT ACCEPT [7568:652014]
COMMIT
# Completed on Sun May 20 13:12:01 2018
')

/etc/systemd/network/et0.network
$this->bbcode_second_pass_code('', '
[Match]
Name=eth0

[Network]
DHCP=yes
IPForward=yes
IPMasquerade=yes
')

Any help would be appreciated
gecko
 
Posts: 4
Joined: Sun May 20, 2018 6:30 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 6 guests