Hi list!

Anyone using wireguard with shorewall?
i was playing with a PtP tunnel, server (with static public ip address) and a client..


Server conf
# cat wg0.conf
[Interface]
Address = 10.0.1.5/30
SaveConfig = true
ListenPort = 5555
PrivateKey = cut

[Peer]
PublicKey = cut
AllowedIPs = 10.0.1.4/30


etc/shorewall/interfaces
vpn1            wg0

zones
vpn1 ipv4

policy
vpn1            ALL             ACCEPT
ALL             vpn1            ACCEPT


Client conf
[Interface]
ListenPort = 5555
PrivateKey = cut

[Peer]
PublicKey = cut
AllowedIPs = 10.0.1.5/32
Endpoint = <my-ip>:1991


We run shorewall on both sides, shorewall config on the client is the same as on server.

My idea was to have a small /30 network just for the ptp connection.

Anyway, wireguard conf seems to be ok since issuing wg show I can see andshake and trasfer values.

But I can't ping the other side of the tunnel neither from server or from client.

Any suggestion? What am I missing?

Many and many thanks to everybody!!
N


_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to