Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Is it possible to redirect ... www.whatever.com to a file on the local drive... for example, if they went to go to this particular website, instead of the page showing in the browser, a picture saying this website is off limits would appear in the browser?????
you could do this with iptables easily, let's say you dont want computers on your network to access whatever.com, i'd do an nslookup on whatever.com and lets say the ip of whatever.com is 126.96.36.199, here is what your iptable rule could look like:
this will forward any incomming packets that are bound for 188.8.131.52 to 192.168.x.x ,if you have a web server running on 192.168.x.x then you can display whatever you want. if im wrong, someone correct me
this will forward any incoming packets that are bound for 184.108.40.206 to 192.168.x.x ,if you have a web server running on 192.168.x.x then you can display whatever you want.
I have tried this rule but not able to run this command with argument PREROUTING and --dport.
I am getting error like this
Bad argument `PREROUTING'
Try `iptables -h' or 'iptables --help' for more information.
and plz also specify me that how ant I flush this rule if applied then.
I want to redirect mail.google.com to mail.aspl.in in my network.
Thanx in advance......
Last edited by bhargavbhai; 08-11-2008 at 05:44 AM.
Reason: some corrections