Next
Previous
Contents
There are several possibilities:
- Your LAN is an official Class C net with IP addresses valid on the Internet.
This case is the easiest of configure. You give each network card on your
network one of these addresses and set a default route on the ISDN card that
goes to your provider.
- You'd only like to do http in Internet from your LAN. In this case you
can make up IP addresses for your LAN; the only official IP address is that for
your ISDN card. Then install a proxy server on your Linux router, and enter it
in all of your browsers. In this case you do not need a default route.
- From your LAN you only want to log in to your Linux ISDN router and FROM
THERE do your work on the Internet. This is even simpler, then you don't even
need a proxy server.
- Use ip masquerading. This is the most comfortable one to use, but more
difficult to set up. The Linux computer acts as a gateway. The trick is that it
hides the ip addresses of the LAN, by giving its own internet address as
response address. When receiving the response, it will forward it to the
correct computer on the LAN. You can also use masquerading with dynamic ip
addresses. If you donīt want to start the ISDN connection from the Linux
computer to your internet provider manually, then you can set up dial on demand
functionality (see section
dod
).
On the Linux side use modemd, which is a very short perl script:
#!/usr/bin/perl
select((select(STDOUT), $| = 1)($());
select((select(STDIN), $| = 1)($());
exec "cu","-E","''", "-l", "$ARGV(0)";
die "$0: Cannot exec cu: $!\n";
It has to be started in inetd:
modem 20006/tcp modemd # Modem service via TCP
isdn 20007/tcp modemd # ISDN service via TCP
Additionally, you need some software on your non-ISDN computer which emulates a
serial port, but redirects it via telnet to the Linux ISDN computer.
Some telnet clients allow this functionality (e.g. some uucicos).
If you generally want to offer all applications a kind of "remote COM
port", then there is COMT for Windows (95), and
"telser.device" for Amigas. Disadvantage of COMT: it is only visible
to 16bit applications.
COMT may be found on Simtel or one of its mirror:
ftp://ftp.funet.fi/pub/simtelnet/win3/inet/comt200.zip
Next
Previous
Contents