View previous topic :: View next topic |
Author |
Message |
Cheesepie Apprentice

Joined: 19 Jan 2004 Posts: 154
|
Posted: Tue Feb 03, 2004 2:20 am Post subject: [ content removed, DMCA ] |
|
|
[ content removed, DMCA ]
Last edited by Cheesepie on Thu Feb 09, 2023 12:36 am; edited 1 time in total |
|
Back to top |
|
 |
nephros Advocate


Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Tue Feb 03, 2004 6:19 pm Post subject: |
|
|
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 |
|
 |
Cheesepie Apprentice

Joined: 19 Jan 2004 Posts: 154
|
Posted: Wed Feb 04, 2004 7:34 am Post subject: |
|
|
[ content removed ]
Last edited by Cheesepie on Thu Feb 09, 2023 1:01 am; edited 1 time in total |
|
Back to top |
|
 |
Cheesepie Apprentice

Joined: 19 Jan 2004 Posts: 154
|
Posted: Sat Feb 07, 2004 12:19 pm Post subject: |
|
|
[ content removed ]
Last edited by Cheesepie on Thu Feb 09, 2023 1:00 am; edited 1 time in total |
|
Back to top |
|
 |
b_Q Apprentice

Joined: 18 Jun 2002 Posts: 163
|
Posted: Sun Feb 08, 2004 6:15 am Post subject: |
|
|
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 |
|
 |
smart Guru

Joined: 19 Nov 2002 Posts: 455
|
Posted: Mon Feb 09, 2004 9:19 am Post subject: |
|
|
<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 |
|
 |
nephros Advocate


Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Mon Feb 09, 2004 9:38 am Post subject: |
|
|
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 |
|
 |
Cheesepie Apprentice

Joined: 19 Jan 2004 Posts: 154
|
Posted: Sat Feb 14, 2004 4:43 am Post subject: |
|
|
[ content removed ]
Last edited by Cheesepie on Thu Feb 09, 2023 1:00 am; edited 1 time in total |
|
Back to top |
|
 |
nephros Advocate


Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Sat Feb 14, 2004 2:28 pm Post subject: |
|
|
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 |
|
 |
|