Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have two APs set up, one for me, one for my tenants. The AP for my tenants is locked down pretty tight using iptables and OpenDNS filters.
I use DD-WRT and have everything working great. Today, one of my tenants came to me requesting access to a site for her school.
It's a https site running at port 8080.
I don't want to set a blanket rule to allow port 8080 across the board, I would just like to allow only this site to be accessed.
Here is my current iptables - I just don't know enough about it to accomplish what I'm trying to do, so any help would be great.
here is what is currently in production:
BR0 is me. BR1 is the tenants....
### FIREWALL COMMANDS FOR PUBLIC/PRIVATE SSIDS
#Allow br1 to access DHCP on the router
iptables -I INPUT -i br1 -p udp --dport 67 -j ACCEPT
#Allow br1 to access DNS on the router
iptables -I INPUT -i br1 -p udp --dport 53 -j ACCEPT
iptables -I INPUT -i br1 -p tcp --dport 53 -j ACCEPT
#Drop everything else on br1
iptables -I INPUT 4 -i br1 -j DROP
#Restrict br1 from accessing br0
iptables -I FORWARD 1 -i br1 -o br0 -j DROP
#Restrict br0 from accessing br1
iptables -I FORWARD 2 -i br0 -o br1 -j DROP
#Allow br1 to access http/https & FTP to internet
iptables -I FORWARD 3 -i br1 -p tcp -m multiport --dports 80,443,21 -j ACCEPT
iptables -I FORWARD 4 -i br1 -m state --state ESTABLISHED,RELATED -j ACCEPT
#Drop everything else on br1
iptables -I FORWARD 5 -i br1 -j DROP