All Questions
166
questions
0
votes
1
answer
738
views
Redirect PROXY traffic to test box using IPTABLES
Marked this as answered. I'm going to pass on trying to get this to work. It was only for testing.
I'm currently using a proxy server (squid) that's listening on port 8080. Users' browsers are ...
2
votes
1
answer
2k
views
iptables FORWARD rule
I'm running 3 virtual machines with Fedora 19. The machine B is set up with two networks adapters and provides que channel between machine A and machine C.
The machine A IP is set to 192.168.1.1 and ...
1
vote
0
answers
178
views
Define IPTABLES rule
I am working with a linux based UTM appliance and have some disagreement with the client on the operation. THere is a standard GUI to configure port forwards in the firewall but for some reason he ...
5
votes
1
answer
12k
views
Redirect incoming https to local ip with iptables
I have a router with 1 network interface (eth0, public ip) and an alias for eth0:0, local ip 192.168.1.1.
I want to redirect all incoming https (443) traffic to another server. I tried it with
...
1
vote
1
answer
1k
views
IPTABLES to block sites on browser
I am trying to block a specific IP address from being accessed using the browser on my system. I added a simple rule as below
iptables -A OUTPUT -d <IP> -j DROP
The site gets blocked in the ...
1
vote
1
answer
893
views
ICMP firewall policy for standard ubuntu desktop
For a standard desktop computer running Ubuntu 12.04 behind a NAT router, what ICMP packets should one accept in the firewall, say iptables?
It seems there is often conflicting advice; some say block ...
1
vote
0
answers
658
views
I need some help proof reading my IPtables rules, my rules seem to work but I cannot be sure
Like the title says, I need some help proof reading my iptable rules, my rules seem to work but I cannot be sure. My set up is as follows: ISP ---> cable modem ---> Ethernet switch ---> netbook/...
1
vote
0
answers
298
views
Change UDP port with iptables for VPN clients
What I want to do is say that for all UDP connections on interface ppp0 that have a destination port of 53, change that destination port to 1053.
I am attempting to change the destination port of UDP ...
1
vote
3
answers
2k
views
linux routing outbound port 80 traffic via ssh tunnel, iptables, or a simple route
I have two hosts, A and B. Host A hosts services on port 8080 and has outbound internet firewall rules allowing port 80 and 443 access to Host C.
Host B is on the same subnet as Host A. Host B is ...
2
votes
1
answer
6k
views
using iptables to prevent RST related to a specific port
I have a program which uses libpcap to capture incoming TCP SYN packets, these SYN packets are destined for a specific port.
But I have no tcp listening socket for that port, so in practice, the OS ...
1
vote
2
answers
3k
views
IPtables Rules to Block IP Range
I've applied the following rules from a text file called "iptables.save" to iptables.
But to my dismay, I found that the ip address 107.22.26.176 is still able to access my server via TCP.
What did ...
1
vote
2
answers
7k
views
UDP packet and firewall
I notice when I send udp packets from computer A to computer B,
B can receive the upd packets correctly
but if I send udp packets from computer B to computer A
the udp packets are not received
A and ...
0
votes
1
answer
2k
views
Linux, how to force all traffic to specific host over VPN?
I'm trying to ensure that all traffic to our stats server is forced over the VPN, in the case that the VPN falls down, it shouldn't be that the traffic tries to route over the WAN. To short-circuit ...
4
votes
3
answers
1k
views
Is this firewall completely secure?
I'd like to know if there's any holes/flaws in this firewall setup. I want to lock down the server as much as possible so it is impossible to hack in to. The only services running are openvpn and ssh. ...
2
votes
4
answers
961
views
Block all but http traffic on a network interface
I've got two network interfaces on an Ubuntu machine which go out to two different networks but both have internet gateways.
I need to limit it so that any outgoing http requests it makes (ie ...
1
vote
2
answers
11k
views
How to use FQDN in firewall rules for GNU/Linux?
I'm trying to setup a firewall for one of GNU/Linux systems. AFAIK, iptables and its ilk cannot make use of FQDNs in their configuration, since they're expected to be operational before the network ...