2
votes
How do I change the destination IP of all outgoing packets (especially DNS)?
I figured it out! Turns out that my chain rules were just placed in the wrong place. I should have placed my PREROUTING rule into OUTPUT since I wanted to modify and internally generated destination ...
1
vote
Unknown Local Rsyncd Interruptions Error (104)
Problem solved.
I use the same command to pull backups from my vps, therefore, I of course, use the --timeout="" option, so that wrapper script knows when to re-connect.
In my current ...
1
vote
How to forward packets with keeping the original IP address
You dont need expensive hardware - only routing+iptables just enough
I suppouse X.X.X.X host have one interface only?
on X.X.X.X
ip route add default via eth0
PREORUTING in eth0 dport 80 DNAT to Y.Y.Y....
1
vote
How to forward packets with keeping the original IP address
In comments you've indicated the web servers to which you want to forward traffic do not have a route to return packets directly to the web clients. This is a very common scenario, but it's one that'...
1
vote
Why is this MAC address iptables whitelisting not working?
One way would be to jump to a new chain to make the accept/reject decision. However, I'm not sure from your description whether the custom MAC address are to be allowed, or blocked, so the logic here ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iptables × 2476linux × 548
networking × 481
firewall × 411
routing × 256
centos × 176
nat × 172
debian × 143
ubuntu × 127
openvpn × 121
port-forwarding × 120
vpn × 84
ssh × 83
netfilter × 83
security × 82
firewalld × 63
ip × 61
iptables-redirect × 59
docker × 54
proxy × 54
ufw × 51
forwarding × 51
tcp × 48
rhel × 47
route × 42