Solved

iptable to forward every bordy to read regulation first

Posted on 2006-10-28
1
187 Views
Last Modified: 2010-03-18
I have linux box with 2 nics card , the first nics (192.168.0.1) connect to adsl router , the second nics 192.168.1.1 is dhcp server to share internet How can I write script that every people that connect to second nics  must forward to read regulation of the hotel that is webpage when they click acept  recgulation then they can serve the web
0
Comment
Question by:teera
1 Comment
 
LVL 39

Accepted Solution

by:
noci earned 500 total points
ID: 17829647
You have a problem here, on the IP level you cannot force somebody that tries to send mail to read HTML
first as the mail doesn't support that.

What you can do is: BLOCK all traffic from a certain source except http, and redirect ALL
http requests to a special server.
(That can be done through NAT or a REDIRECT target).

if your customer agrees to your conditions you could add that users IP address to a list that is
allowed outside access and remove it from the REDIRECT Rule.

You will need management rules to revert old allowances.
(That can be done if DHCP removes a node from it database/dns etc.)
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Replication of Nagios surveilance data 2 90
Lame BIND 9.3 10 52
How to enable SSH in Ubuntu. 7 88
Error when calling SSH command 20 101
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now