Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
4k views

Client isolation in Ubuntu with hostapd

We have created a wifi hotspot or a wireless access point using hostapd in Ubuntu. How can we isolate wifi clients the same way "Client Isolation" does in some access points? Is there any way we can ...
mazkopolo's user avatar
  • 111
0 votes
1 answer
1k views

VPN server on ubuntu enabling NAT problem! please help

Hi I am trying to Create a vpn server on a vps which is running ubuntu percise 12.04. I have already installed pptpd and I have enabled ip forwarding but when I try to enable NAT with this command : ...
Navid Veradi's user avatar
4 votes
2 answers
3k views

Restricting Internet access of some LAN clients to a few websites using an Ubuntu gateway

How should I limit the Internet access of most systems on my LAN to a few websites and block all the other websites? I would also like to bypass those restrictions for some systems. All systems have ...
ATR's user avatar
  • 403
1 vote
1 answer
3k views

Why is iptables getting double rules?

I have a server running Ubuntu 12.04. A couple of reboots back I started noticing that iptables rules get doubled upon reboot. This is what I get after a reboot (with added line breaks): $ sudo ...
azzid's user avatar
  • 866
0 votes
3 answers
15k views

How do I write an iptables rule to limit Internet bandwidth usage of user or IP address

How do I control or limit Internet bandwidth usage of users/computer/IP address in network with the help of iptables rules? I have one static IP address which provides Internet (that is, WAN). I ...
George Ulahannan's user avatar
0 votes
1 answer
325 views

keep getting added to hosts.deny + iptables

I am confused to why this has started to happen. On my local network, if I click 10-20 apache/http links my server will decide to add me hosts.deny file and block me on iptables. Its not just apache,...
Sc0rian's user avatar
  • 99
0 votes
1 answer
3k views

How to open the ports on firewall in Ubuntu? [duplicate]

I'm pretty new to Ubuntu. I just want to open the most common ports namely FTP (port 20 TCP/UDP) HTTP (port 80 TCP/UDP) SMTP (port 25 TCP) ETC I've tried all the ways in iptables, ufw, and gufw. In ...
Mc Clane's user avatar
  • 109
3 votes
1 answer
17k views

what does this mean "80/tcp filtered http"

Our linux server(ubuntu) stop listing on port 80. this is what i got : PORT STATE SERVICE 22/tcp open ssh 80/tcp filtered http what does this "80/tcp filtered http" means? What ...
muktadiur's user avatar
  • 131
1 vote
1 answer
456 views

Ubuntu 12.04 secondary IP externally inaccesible

I have added a secondary IP to my virtual server, Ubuntu 12.04 running in OpenVZ virtual host. I used ip addr add xx.xxx.168.95/32 label venet0:1 dev venet0. When I do ifconfig the IP shows up below ...
MiB's user avatar
  • 117
1 vote
1 answer
555 views

Outbound SMTP redirect

How would I go about redirecting all outbound email on port 25 of my server to port 25 on another server using iptables. I have tried a few rules already and none of them are working. Would ...
awmusic12635's user avatar
0 votes
0 answers
75 views

Port won't open! [duplicate]

I have a server that want to allow connections into it through port 25565, but when I test on http://www.yougetsignal.com/tools/open-ports/ it says they are closed? I have no outfacing interface ...
user240010's user avatar
26 votes
4 answers
31k views

persist port routing from 80 to 8080

I use amazon EC2 instance which works via ubuntu. By default according security restrictions I can't bin my application to port 80, so I just bind it port 8080 and then set routing redirect from port ...
Ph0en1x's user avatar
  • 405
0 votes
1 answer
1k views

UFW locks me out of server everytime I run it

Background: I'm setting up a new 12.04 instance on a VPS with a new provider.The VPS provider only offers a 32bit image but that really shouldn't matter here. I have no local access to the machine and ...
eljaydub's user avatar
  • 141
1 vote
2 answers
5k views

Block ping from a particular IP address

My server is Ubuntu 12.04:-> IP 192.168.56.100 I have a client Ubuntu 13.04:-> IP 192.168.56.101 I have to block the ping from client to server So I wrote the IPTABLE rule. iptables -A INPUT -i eth0 ...
nkg's user avatar
  • 601
9 votes
2 answers
2k views

How to disable NAT for IPv6 (NAT66)?

The current Ubuntu LTS does not support NAT tables for IPv6 (i.e. there is no ip6tables -t nat), and I'm fine with that, in fact, a NAT-less environment is the "core" of my networks. But, the next ...
ThiagoCMC's user avatar
  • 829
1 vote
1 answer
2k views

How ca I enable port to be accessible on public ip

I have Ubuntu server I am trying to the port 8550 to be accessible on the server public IP address, I can hit the web service running on that port from the server itself but not from the public IP ...
bhappy's user avatar
  • 667
8 votes
1 answer
50k 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'...
Nicolai Fröhlich's user avatar
3 votes
2 answers
14k views

UFW 'default deny incoming' doesn't work

I have UFW enabled, 'default deny incoming' set and no any additional rules, but I still can access all ports from other PCs. I have to manually block each port. What can be wrong?
Patrykw's user avatar
  • 31
4 votes
0 answers
5k views

Webmin Port Forwarding

I have not been able to figure this out at all. I have 1 Lan IP address and 5 external static IPs: eth0: 10.0.0.1 - internal lan ip and router IP. eth1: xx.xx.xx.217 - external eth2: xx.xx.xx.218 - ...
Matthew St Nicholas Iverson's user avatar
2 votes
2 answers
738 views

cannot establish TCP connection with VPS

Vince Stewart I have a VPS on Ubuntu 12 and a home computer on Ubuntu 12. I have a Java application on the VPS which opens a tcp socket listening on port 4000 and also an Http listener. My ssh service ...
Vince Stewart's user avatar
2 votes
5 answers
6k views

How do I prevent iptables from loading on boot?

I don't need iptables on my computer, since I'm behind a NAT Server and a router. I, therefore, flushed all the rules I had left to disactivate the firewall. I wonder if I could probably prevent ...
Til Hund's user avatar
  • 605