Linked Questions

18
votes
4answers
12k views

iptables resets when server reboots

Everytime my server reboots it seems I have to reset my iptables to default, I used to use firestarter but removed it a while ago. Is there any settings that are making iptables change when the server ...
0
votes
1answer
91 views

boot 14.04 iptables fails intermittently [duplicate]

I have a kvm VM with Ubuntu 14.04 set as a firewall in a virtual network (with eth0 and eth1) This is not a course but at work. I have to learn this. Intermittently eth1 will fail to come up. In /...
0
votes
0answers
34 views

How can I save the current Ubuntu firewall configuration? [duplicate]

Is there a way to save the current configuration of rules of the firewall and restore it back to the same state if I make some changes to it? I'm using Ubuntu 14.04.
0
votes
0answers
30 views

Iptables rules for Desktop edition [duplicate]

I have iptables rules on 10.04 and older versions of Ubuntu, with which (iptebles-restore < /folder/file_ipt_rules) internet is working, they are: *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :...
220
votes
24answers
158k views

Do I need to have antivirus software installed? [closed]

I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages clamtk and klamav in Ubuntu software center yesterday. This leads to ...
8
votes
2answers
24k views

Can I run SQL Server on Ubuntu?

My company develops software with two sides: client and server. I've installed Microsoft SQL Server on Windows and am running the client side on Ubuntu with some configuration. But I'm wondering: is ...
8
votes
1answer
48k views

Where are iptables's rulesets stored on Ubuntu 12.04?

Ubuntu 12.04 LTS - iptables v1.4.12 TLDR: Where are iptables's rulesets saved when invoking iptables-save <ruleset-name> ? Explanation: According to this answer basic way of saving iptables'...
1
vote
1answer
2k views

How can I start the IP Tables service

How do you start or stop IP Tables service iptables status Unit iptables.service could not be found. systemctl start iptables Failed to start iptables.service: Unit iptables.service not found. I ...
1
vote
1answer
593 views

Revert iptables

I created the following temporary rule that I enable occasionally but I would like to remove it without the need of restarting the machine. Can someone provide me the command? sudo iptables -t nat -...
1
vote
1answer
489 views

Routing traffic over p2p1 and tun0 correctly

I have been trawling these questions and trying many different solutions to get this working, but I seem to have a problem with getting my routing set up correctly. I have a box installed in a network ...
0
votes
2answers
293 views

Iptables v1.60, change policy to Drop

I have two questions. First: I want configure iptables on my Ubuntu 16.04 server, like: INPUT policy DROP and after that allow one by one ports. All is ok but when i put: iptables -p INPUT -j ACCEPT, ...
1
vote
1answer
221 views

Asking help with iptables

Firstly I want to ask why my rules.v4 looks so complicated after using: iptables -F. I thought it will be empty after flushing: # Generated by iptables-save v1.6.0 on Tue Jan 9 21:25:13 2018 *filter ...
0
votes
1answer
138 views

How to use IPtables for load balancing in gateway

I have 3 NICs. NIC1 and NIC2 are used for internet connections an LAN is used for intranet connection. I want to balance the load to ISPs using ip tables. As I am a noob, my crude attempt is given ...
0
votes
1answer
90 views

How do I know if iprules are used?

I followed this: How to save rules of the iptables? And created this "/etc/iptables.rules": # Generated by iptables-save v1.4.12 on Sun May 19 18:42:18 2013 *filter :INPUT ACCEPT [429624:571594561] :...