December 19, 20214 yr Hey Folks, I use WireGuard-Easy from weejewel in a Docker instance. Everything works fine so far. However, not the iptables. I want the client (10.8.0.2) to have exclusive access to one IP address (192.168.12.2). A web service is running on 192.168.12.2. All other connections are to be rejected. Can you tell me what the correct entries are for the iptables? What I tested: All chains (INPUT, FORWARD, OUTPUT) Drop. iptables --append INPUT --protocol all --src 10.8.0.2 --dst 192.168.12.2 --jump ACCEPT iptables --append OUTPUT --protocol all --src 10.8.0.2 --dst 192.168.12.2 --jump ACCEPT Many greetings PD
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.