Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ content removed, DMCA ]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cheesepie
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 154

PostPosted: Tue Feb 03, 2004 2:20 am    Post subject: [ content removed, DMCA ] Reply with quote

[ content removed, DMCA ]

Last edited by Cheesepie on Thu Feb 09, 2023 12:36 am; edited 1 time in total
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Tue Feb 03, 2004 6:19 pm    Post subject: Reply with quote

The "Serial-Laplink-HOWTO" describes this.
You should find it either under
file:///usr/share/doc/howto/text/Serial-Laplink-HOWTO.gz
or an online version here:
http://www.tldp.org/HOWTO/Serial-Laplink-HOWTO/

Or, if the lappy has a working ethernet port left, you could save yourself the trouble and just buy a cross-over CAT-5 cable :)

BTW: what did you do to the poor thing?
_________________
Please put [SOLVED] in your topic if you are a moron.


Last edited by nephros on Mon Feb 09, 2004 9:39 am; edited 1 time in total
Back to top
View user's profile Send private message
Cheesepie
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 154

PostPosted: Wed Feb 04, 2004 7:34 am    Post subject: Reply with quote

[ content removed ]

Last edited by Cheesepie on Thu Feb 09, 2023 1:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Cheesepie
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 154

PostPosted: Sat Feb 07, 2004 12:19 pm    Post subject: Reply with quote

[ content removed ]

Last edited by Cheesepie on Thu Feb 09, 2023 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
b_Q
Apprentice
Apprentice


Joined: 18 Jun 2002
Posts: 163

PostPosted: Sun Feb 08, 2004 6:15 am    Post subject: Reply with quote

Hi

Dought it,
but one basic blocker if not set to 1 on multi-link machine.
echo /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/ip_forward

...iptables(ipt_MASQUERADE, ipt_nat...) running ?

Another blocker/dought it, gateway on client is set to ip of multi-link machine

Recycle it to down to the ground... before coup de grâce.
Some combinations of silver duct tape and wire have magical properties I find.

Post some config's, error output feedback...!?

Bump 5.(1 2?) noob.
_________________
Preudhomme's Law of Window Cleaning:
It's on the other side.
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Mon Feb 09, 2004 9:19 am    Post subject: Reply with quote

<cite>
BTW, if you ever see a Toshiba Satellite 2675DVD at a garage sale, do the man selling it a favor: pay for it, walk to your car with it, leave it under your rear tires, and back up over it (repeatedly, perhaps)
</cite>

But why the heck would this guy want to hook up that laptop he just repeatedly ran over with his car to the net via serial port ?
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Feb 09, 2004 9:38 am    Post subject: Reply with quote

smart wrote:
<cite>
BTW, if you ever see a Toshiba Satellite 2675DVD at a garage sale, do the man selling it a favor: pay for it, walk to your car with it, leave it under your rear tires, and back up over it (repeatedly, perhaps)
</cite>

But why the heck would this guy want to hook up that laptop he just repeatedly ran over with his car to the net via serial port ?

Beause we can!(TM)
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Cheesepie
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 154

PostPosted: Sat Feb 14, 2004 4:43 am    Post subject: Reply with quote

[ content removed ]

Last edited by Cheesepie on Thu Feb 09, 2023 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Sat Feb 14, 2004 2:28 pm    Post subject: Reply with quote

IP Masquerading and other firewall stuff should work just the same under 2.6 like it does under 2.4.

basically something like this:
Code:

INTIF="eth0"
EXTIF="eth1"
TCP_SERVICES="22"

modprobe ip_nat_ftp
modprobe ip_conntrack_ftp

iptables -F INPUT
iptables -F FORWARD
iptables -F OUTPUT
iptables -t nat -F POSTROUTING

# enable ip forwarding
echo "1" > /proc/sys/net/ipv4/ip_forward

iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i $INTIF -m state --state NEW -j ACCEPT
iptables -A INPUT -i $EXTIF -m state --state NEW -p tcp -m multiport --dport $TCP_SERVICES -j ACCEPT

iptables -P FORWARD DROP
iptables -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT

iptables -P OUTPUT ACCEPT

iptables -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum