News for hackers. Stuff that matters.
Re:How to safely invoke Webhooks by A1kmm on Tuesday January 28, 2014 @04:54PM (#7140031)
The local port for outgoing TCP connections is chosen randomly in the normal case - and you can't have two TCP connections between the same pair of ports and hosts, so it would be hard to write a good proxy server that let you pick the local outgoing port.

You could use ipt_owner with iptables to block by source user matching the proxy server, however. Or just configure your proxy to block by outgoing IP if it supports this.

Re:How to safely invoke Webhooks by samplonius on Tuesday January 28, 2014 @05:29PM (#7140256)
I think the poster meant IP not port.

Most proxy servers can be configured bind to a specific IP. So if your proxy server has an external IP and an internal IP, configure the proxy server to bind to the external IP. And then use IPTables to block any connections from the external IP to the internal network.