You are not logged in.

#1 2009-06-05 13:13:49

gav616
Member
Registered: 2008-01-16
Posts: 182

[SOLVED] Moblock only on certain ports

how can i use the power of moblock but only on two ports?

Last edited by gav616 (2009-06-08 19:08:16)

Offline

#2 2009-06-08 01:51:42

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] Moblock only on certain ports

were can i ask if no one knows here?
ty.

Offline

#3 2009-06-08 04:17:25

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,222
Website

Re: [SOLVED] Moblock only on certain ports

I think you need to be a bit more descriptive of your problem -- I for one have no idea what a Moblock is, nor what kind of 'ports' you mean (tcp ports? serial ports? usb ports? bsd ports?)

Offline

#4 2009-06-08 10:55:35

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: [SOLVED] Moblock only on certain ports

Maybe you should try the Networking, Server, and Protection sub-forum.

Offline

#5 2009-06-08 12:20:54

DevoidOfWindows
Member
Registered: 2009-05-24
Posts: 133

Re: [SOLVED] Moblock only on certain ports

fukawi2 wrote:

I think you need to be a bit more descriptive of your problem -- I for one have no idea what a Moblock is, nor what kind of 'ports' you mean (tcp ports? serial ports? usb ports? bsd ports?)

Moblock is some old PeerGuardian-like IP-blocking software for Linux.
To the OP, you probably want to be using IPList now, instead.  Moblock is no longer maintained, as far as I know.  IPList is also a bit easier to set up, and to do what you are asking in it, you would ignore every other range, such as if you only wanted to block on 6881 and 50000:  IGN_TCP_INPUT="0:6880 6882:49999 50001:65535" and  IGN_TCP_OUTPUT="0:6880 6882:49999 50001:65535".

Last edited by DevoidOfWindows (2009-06-08 12:45:02)

Offline

#6 2009-06-08 19:06:58

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] Moblock only on certain ports

DevoidOfWindows wrote:
fukawi2 wrote:

I think you need to be a bit more descriptive of your problem -- I for one have no idea what a Moblock is, nor what kind of 'ports' you mean (tcp ports? serial ports? usb ports? bsd ports?)

Moblock is some old PeerGuardian-like IP-blocking software for Linux.
To the OP, you probably want to be using IPList now, instead.  Moblock is no longer maintained, as far as I know.  IPList is also a bit easier to set up, and to do what you are asking in it, you would ignore every other range, such as if you only wanted to block on 6881 and 50000:  IGN_TCP_INPUT="0:6880 6882:49999 50001:65535" and  IGN_TCP_OUTPUT="0:6880 6882:49999 50001:65535".

i switched to iplist and tried what you said,
it's exactly what i was looking for, thank you very much.

Offline

Board footer

Powered by FluxBB