LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-22-2004, 12:14 PM   #1
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
outgoing traffic to the internet stopped


Hi !
I'm having a problem with my outgoing traffic to the internet
I have a slackware 10 machine with postfix/bind/apache
The machine have 2 nics, one configured with
my internal network and other with the external network
All the internal traffic work great, but I can't send packets
through my external interface.
Everybody can see my site through internet, also can
send email to my machine, but when I try to send or reply
messages to another machine outside my network I received
a connection timeout...
the behaivor is the same for telnet, ssh, ftp, also I cannot
browse the web from this machine but people can see this
machine from the internet...
any help or advice would be appreciated..
thanks in advance.
regards,
-eduardo s.m.
 
Old 09-22-2004, 12:30 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
are you using iptables on the machine?? could you post your script??
 
Old 09-22-2004, 12:40 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
What you mean by
Quote:
outgoing traffic to the internet stopped
Does it worked before and stopped suddenly? Then perhaps you lost your gateway. Do a:
Code:
route add default gw xx.xx.xx.xx
where xx.xx.xx.xx is the IP of your router or whatever connects you to the net
 
Old 09-22-2004, 01:24 PM   #4
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
No, I'm not using iptables on that machine...
No iptables module is loaded in the kernel:
Code:
esanchez@linux02:~$ lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            37736   0 (unused)
snd-mixer-oss          12504   0 [snd-pcm-oss]
uhci                   24444   0 (unused)
ehci-hcd               17580   0 (unused)
usbcore                59308   1 [uhci ehci-hcd]
snd-intel8x0           18924   0 (unused)
snd-ac97-codec         49500   0 [snd-intel8x0]
gameport                1420   0 [snd-intel8x0]
snd-pcm                56072   0 [snd-pcm-oss snd-intel8x0]
snd-timer              13604   0 [snd-pcm]
snd-page-alloc          6328   0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart         3200   0 [snd-intel8x0]
snd-rawmidi            12740   0 [snd-mpu401-uart]
snd-seq-device          3888   0 [snd-rawmidi]
snd                    30852   0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3396   4 [snd]
8139too                14376   1
crc32                   2880   0 [8139too]
eepro100               19252   1
mii                     2272   0 [8139too eepro100]
pcmcia_core            39972   0
ide-scsi                9328   0
agpgart                43940   0 (unused)
 
Old 09-22-2004, 01:29 PM   #5
esanchez
Member
 
Registered: Mar 2004
Location: SJ, Costa Rica
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 15
already try using:
[code]
route add default gw <my_gateway>
[code]

but before that It seems I have not lost my gateway:
Code:
esanchez@linux02:~$ netstat -rn
Kernel IP routing table
Destination        Gateway         Genmask         Flags   MSS Window  irtt Iface
216.25.167.128  0.0.0.0         255.255.255.224 U         0 0          0 eth1
10.0.0.0              0.0.0.0         255.255.0.0     U         0 0          0 eth0
127.0.0.0            0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0            <my_gateway>  0.0.0.0         UG        0 0          0 eth1
as a matter in fact, I can reach servers on my ISP....
another funny thing is that if I configure a Windows machine with this ip, it can browse
the internet without a problem, with Linux it can't...
was wondering if there's some kind of problem in my network configuration or the ISP
doesn't like Windows machines..
regards,
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
Iptables - Redirecting Outgoing Traffic Frankablu Linux - Networking 1 06-12-2005 01:18 PM
Block outgoing traffic through router? Micro420 Linux - Networking 3 03-15-2005 07:01 AM
Intercept outgoing traffic through a firewall???? macburton Linux - Security 1 10-17-2004 01:10 PM
How to use QoS to throttle outgoing traffic? Electrode Linux - Networking 3 06-13-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration