learner79
asked on
Redhat9 router...
I have succesfully setup a linux router by using 2 NIC and share the internet between them...all my pc client are gateway to my 2nd NIC where the 1st NIC is directly to Internet Connection..
2nd NIC
: ip - 192.168.168.1
netmask - 255.255.255.0
ip client will be - 192.168.168.X
netmask - 255.255.255.0
gateway - 192.168.168.1
the first question is how to block the internet connection from my linux to the specific client in my network such as his ip is 192.168.168.10
the second question is how to block mirc port, my client always wasting time to chit chat while working...so I want to block the mirc port which will blocked the connection to mirc server...all this i want to do from linux..
thanks
2nd NIC
: ip - 192.168.168.1
netmask - 255.255.255.0
ip client will be - 192.168.168.X
netmask - 255.255.255.0
gateway - 192.168.168.1
the first question is how to block the internet connection from my linux to the specific client in my network such as his ip is 192.168.168.10
the second question is how to block mirc port, my client always wasting time to chit chat while working...so I want to block the mirc port which will blocked the connection to mirc server...all this i want to do from linux..
thanks
ASKER
my server is using Redhat9 and other client are XP...my server using 3 NIC where 1st NIC is connected to modem, 2nd NIC connected to Office LAN and 3rd NIC is connected to Access Point. I'm using IPTABLES
how to block temporary the internet connection to spesific client in my network from spesific command from Redhat? such as "shutdown clientIP" is that possible?
how to block temporary the internet connection to spesific client in my network from spesific command from Redhat? such as "shutdown clientIP" is that possible?
ASKER
or what is the command line in redhat9 to disable the eth1(office lan) in X Window?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i will try...thanks rob
ASKER
i try this "iptables -A FORWARD -s (ip of the host not allowed on the net) -j DROP" it's works...but how to make it back to normall again?
ASKER
any help?
ASKER
rob?
iptables -D FORWARD -s (ip of the host not allowed on the net) -j DROP
This will delete the rule
/Rob
/Rob
ASKER
Thank you so much...
im happy to help
The dont alow internet have the same solution use a firewall to block the specific ip to connect trough the server what system are you using and what is your config for the internet sharing ?
/Rob