View previous topic :: View next topic |
Author |
Message |
clerus21 Apprentice
Joined: 20 Aug 2003 Posts: 196 Location: uruguay
|
Posted: Fri Aug 18, 2006 3:32 pm Post subject: blocking an application with iptables |
|
|
Hello, i just installed doom3 and i want to block it from accesing the internet, because i dont want it to authenticate.
i dont know what port it uses, and even if i knew i dont know how to block it
can anyone help me pliz?
thanxz a lot _________________ TAMMUZ
MSI RS482 M4
AMD X2 3800+
Nvidia 8800GT 512mb (MSI)
2 GB Ram Dual-Channel
300 GB Seagate Sata II |
|
Back to top |
|
|
Drunkula Apprentice
Joined: 28 Jul 2003 Posts: 257 Location: Denton, TX - USA
|
Posted: Fri Aug 18, 2006 4:55 pm Post subject: |
|
|
You can easily find this info on the net. Try http://www.gameconfig.co.uk/
Doom3
TCP Ports 27666, 27650
UDP Ports 27666, 27650
You'll need to setup iptables to block those specific ports. I'm sure the docs are here somehwere! _________________ Go away or I will replace you with a very small shell script. |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Fri Aug 18, 2006 5:18 pm Post subject: |
|
|
you can also drop packets depending on user/groupid or even process id. (owner match) _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
clerus21 Apprentice
Joined: 20 Aug 2003 Posts: 196 Location: uruguay
|
Posted: Fri Aug 18, 2006 5:20 pm Post subject: |
|
|
It didnt work
i did this:
Code: |
iptables -A INPUT -p udp --destination-port 27650 -j DROP
iptables -A INPUT -p udp --destination-port 27666 -j DROP
iptables -A INPUT -p tcp --destination-port 27650 -j DROP
iptables -A INPUT -p tcp --destination-port 27666 -j DROP
|
any idea why it didnt work?
thanxz _________________ TAMMUZ
MSI RS482 M4
AMD X2 3800+
Nvidia 8800GT 512mb (MSI)
2 GB Ram Dual-Channel
300 GB Seagate Sata II |
|
Back to top |
|
|
xglad n00b
Joined: 13 Aug 2002 Posts: 53 Location: Ft. Lauderdale, FL, USA.
|
Posted: Fri Aug 18, 2006 6:22 pm Post subject: |
|
|
If you want to block outgoing traffic, use the OUTPUT chain. |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Fri Aug 18, 2006 10:02 pm Post subject: |
|
|
xglad wrote: | If you want to block outgoing traffic, use the OUTPUT chain. |
If you are blocking the *firewall* from accessing this service, else use the FORWARD chain if the firewall is inline.
Regs.
Iain. |
|
Back to top |
|
|
|