Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPTABLES: -d (destination)=Internet

Reply
Thread Tools Display Modes

IPTABLES: -d (destination)=Internet

 
 
AcCeSsDeNiEd
Guest
Posts: n/a

 
      09-30-2004, 07:42 AM
This may sound like a stupid or impossible question, but here goes:

How would I tell iptables "to do something" if the -destination is the Internet/Public address?
I mean how would I specify the "-destination = public address" ?

Thanks


To e-mail, remove the obvious
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      09-30-2004, 07:55 AM
On 2004-09-30, AcCeSsDeNiEd <(E-Mail Removed)> wrote:
> How would I tell iptables "to do something" if the -destination is
> the Internet/Public address?


Given the fact that whatever is NOT the local network can be seen as
'the internet'... you just use -d ! localnetworkhere...

Davide

--
Take note of the toes you step on today as they may be connected
to the ass you have to kick tomorrow.
--Ben
 
Reply With Quote
 
Bernhard Kastner
Guest
Posts: n/a

 
      10-02-2004, 11:36 AM
AcCeSsDeNiEd schrieb:
> This may sound like a stupid or impossible question, but here goes:
>
> How would I tell iptables "to do something" if the -destination is the Internet/Public address?
> I mean how would I specify the "-destination = public address" ?
>
> Thanks
>
>
> To e-mail, remove the obvious


-d ! 192.168.0.1-192.168.0.254

IIRC
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba / internet iptables CCW Linux Networking 0 05-05-2008 11:53 AM
iptables REDIRECT original destination-ip bubzilla Linux Networking 4 10-18-2006 10:45 AM
(iptables) connlimit per destination IP equivalent dzikus Linux Networking 1 04-07-2006 11:23 PM
iptables: destination nat onto same network Chris Lutka Linux Networking 3 03-19-2005 01:35 AM
sharing internet with iptables Cothbw Linux Networking 4 08-01-2004 09:10 AM



1 2 3 4 5 6 7 8 9 10 11