Tag Info

Hot answers tagged


Figured this out, the solution is to configure iptables rules as below: iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 80 -o eth0 -m statistic --mode nth --every 1 --packet 0 -j SNAT --to-source XX.XXX.XXX.146 iptables -t nat -I POSTROUTING -m state --state NEW -p tcp --dport 80 -o eth0 -m statistic --mode nth --every 2 --packet 0 -j ...


Others have suggested various symmetric encryption tools which are suitable for pipelining, such as aespipe. I suspect those will be about as efficient as you can get, given that encryption is a fairly CPU-expensive sort of thing to do, and it's not a bad suggestion. But I'd suggest considering an asymmetric tool such as gpg. The under-the-hood bulk ...


If you want to use different source IP addresses when using the file_get_contents PHP function, you should try using PHP contexts and specifying the bindto socket option. If you're NOT using PHP and your client connection does not provide an option to bind to a specific source address, then you nave no other chance than iptables source-nat: you can define ...


Commenting out the ip6 from /etc/resolv.conf solved the issue. # nameserver config nameserver nameserver nameserver #nameserver 2a01:4f8:0:a111::add:9898 #nameserver 2a01:4f8:0:a102::add:9999 #nameserver 2a01:4f8:0:a0a1::add:1010


Instead of overriding local_transport with your hookpickup, you can setup transport_maps. #main.cf transport_maps = hash:/etc/postfix/mytransport #/etc/postfix/mytransport extract@localhost hookpickup: In this mode, just email send out to extract@localhost will be delivered to hookpickup


When your instance is first created, it will not have any SSH keys in it by default, so you have to transfer them there, e.g., by using gcloud to connect to it the first time as described in this SO answer or by manually creating SSH keys and manually adding them to your instance as described in another SO answer.


This is from experience - I haven't done research to verify this information: I have seen a few systems where this same error is in the system logs and there is nothing in /proc/sys/net/ipv4/ip_conn* or /proc/sys/net/ipv4/netfilter. I would also like to know why - but that dosn't remain very important once you find a fix for the original symptoms. ;) The ...

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