Tagged Questions
2
votes
1answer
44 views
Local port forwarding automatically configured on boot?
I have software which needs to run as a non-root user, but needs to listen on port 80 and 443.
With iptables, this isn't all that difficult:
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp ...
1
vote
0answers
87 views
Asterisk server problems with firewall settings [closed]
I replaced an IVR machine for incoming call after going down.
It is running asterisk 1.4.23 on ubunutu 10.04
I decided to put the server behind iptables because my server was under brute force attack.
...
2
votes
1answer
144 views
PPTP server with NIC aliases
I have set up a VPN on a VPS Server using PPTP. I have one NIC with two aliases.
eth0
eth0:1
eth0:2
The 3 interfaces have public addresses. eth0 is a French IP, eth0:1 is UK, and eth0:2 is ...
9
votes
2answers
4k views
iptables --set-mark - Route diferent ports through different interfaces
Short story,
3 interfaces, eth0 (LAN), eth1(ADSL), eth2(4G).
eth0 -> eth1: Works
(ports 80, 443, 4070) eth0 -> eth2: Doesn't happen
This is a graphical representation of the idea:
Port 80 & ...
1
vote
2answers
403 views
How would I direct local(127.0.0.1) MySQL traffic to an external SQL server?
Basically, I have two EC2 instances on Amazon Web Services. They are both running Ubuntu 11.10 x64. They both have a private and a public (Elastic) IP addresses. I'm having trouble setting up iptables ...
1
vote
1answer
1k views
Port Mirroring using iptables - copy all traffic among nginx on :80 and apache on :8080
I have nginx running on port 80 and apache running on port 8080
I want to transfer all the traffic to both nginx and apache asynchronously i.e the performance of one server wont be dependent on the ...