Skip to main content

New answers tagged

0 votes
Accepted

How to set up routing and firewall to achieve the desired result in this specific scenario (selective routing through wg tunnel)?

On Computer1, the peer definition for Computer2 states AllowedIPs = 10.6.0.1/32, so WireGuard is only going to allow packets with a destination IP address of 10.6.0.1 to be sent to Computer2 (and only ...
Justin Ludwig's user avatar
0 votes

fail2ban iptables rule has no effect for SoftEther VPN ... unless sshd rule is place

Found the problem, the clue was in the f2b rules inserted at the top of the INPUT chain: # iptables -L -n -v Chain INPUT (policy DROP 195 packets, 20594 bytes) pkts bytes target prot opt in ...
autobottodoggo's user avatar
0 votes

IPTables Nat Confusion

Assuming OrangePi1 (Static Address) is the default gateway on OrangePi2. It seems like I should be masquerading the external interface You would need to do that if OrangePi2 needs to initiate ...
Tom Yan's user avatar
  • 10k
1 vote

Cannot reach web server in vm from bare metal using DNS after iptables rules forward packets to virtual bridge

Traffics originated from the host itself is governed by the OUTPUT chain, so you need the following rule additionally: iptables -t nat -I OUTPUT -p tcp --dport 9080 -j DNAT --to-destination 192.168....
Tom Yan's user avatar
  • 10k
0 votes

WireGuard Throughput Issues

I have had issues with wireguard performance over WAN with 1 Gbps at one endpoint and 200 Mbps on the other endpoint and RTT ~ 128 msec. Both ends were runnin Ubuntu 22.04 on a laptop with Intel WiFi ...
storestyggeulv's user avatar

Top 50 recent answers are included