New answers tagged traffic
The best way to know would be to run your server for one month and then monitor your bandwidth usage. Alternatively, you could use a VPS?
It would depend entirely on the amount of packages you had installed, the amount of updates released during that month, and now often you updated apt cache. In other words, how long is a piece of string?
This is how you do what you asked with iptables: sysctl net.ipv4.ip_forward=1 iptables -t nat -A PREROUTING -p tcp -d x.x.x.x --dport 500 -j DNAT --to-destination 127.0.0.1:500 iptables -t nat -A POSTROUTING -j MASQUERADE As for your shell scripting problems, you either have to setuid the script (bad idea) or use popen() to run sudo /path/to/yourscript ...
You should be able to do this with an iptables rule in the nat table and PREROUTING change. Something like this: iptables -t nat -A PREROUTING -d xyz -p tcp --dport 500 -j DNAT --to-destination zyx:1111 This is assuming you have ipv4 forwarding enabled via sysctl, which I assume you are since traffic is already passing through the router. I'm unable to ...
You can check the full list of HTTP request methods in RFC 7231. An attacker was probably assessing what your web server does with an invalid request.
From researching this with a different angle, I have found with openvpn routes that it can be possible to traffic specific content. I've found the following type of setup could be used: # redirect all default traffic via the VPN redirect-gateway def1 # redirect the Intranet network 192.168.1/24 via the VPN route 192.168.1.0 255.255.255.0 # redirect another ...
Top 50 recent answers are included