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 ...
user avatar
  • 31
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 ...
user avatar
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....
user avatar
  • 249
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'...
user avatar
  • 1,083
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 ...
user avatar
  • 31.6k

Only top scored, non community-wiki answers of a minimum length are eligible