PDA

View Full Version : Can't establish direct conncection


ATIR350
2005-05-08, 08:37 AM CDT
I've FC3 installed a week ago and I'm quite happy with it. It's starting to replace Windows XP.

I connect to the internet through a broadband router and a ADSL modem. Currently, I have the DMZ host set to the FC3 computer, and under Windows XP DMZ works happily. The DMZ host is set to 192.168.1.2

I've disabled the firewall and SELinux in FC3, but I still can't establish direct connection with others. Here's my ifconfig:
[wilson@localhost ~]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:8D:F9:4C:BF
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:8dff:fef9:4cbf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4921 errors:0 dropped:0 overruns:0 frame:0
TX packets:4751 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3156217 (3.0 MiB) TX bytes:570969 (557.5 KiB)
Interrupt:10 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1811 errors:0 dropped:0 overruns:0 frame:0
TX packets:1811 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2000088 (1.9 MiB) TX bytes:2000088 (1.9 MiB)

What could be wrong?

rsimhamb
2005-05-08, 08:47 AM CDT
but I still can't establish direct connection with others - do you mean machines within your LAN or machines onthe WAN, or both?

ATIR350
2005-05-08, 08:50 AM CDT
With other machines on the internet
I can't establish direct connections with other icq users in GAIM, and Azureus says that port 6881 is not open.
It's like being behind firewall

rsimhamb
2005-05-08, 08:55 AM CDT
You probably need to allow for forwarding of network traffic from the LAN to the WAN and vice-versa. This is done using the network stack and IPTABLES like so:

execute comamnd echo "1" > /proc/sys/net/ipv4/ip_forward
execute command iptables -v -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE

Try the above two command - hope they resolve your issue...

ATIR350
2005-05-08, 07:23 PM CDT
Now I directly connect the machine to the ADSL modem, and Azureus finds port 6881 working properly.
But how do I estalblish direct connection with other ICQ users in GAIM? It still can't send files.