!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/doc/isdn4k-utils-3.2/   drwxr-xr-x
Free 3.78 GB of 27.03 GB (13.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     i4lfaq-9.html (4.68 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
FAQ for isdn4linux: lan: ISDN4LINUX in a LAN Next Previous Contents

9. lan: ISDN4LINUX in a LAN

9.1 lan_config: How can I set up Linux so that other computers in my LAN can access the internet via my Linux computer?

There are several possibilities:

  1. 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.
  2. 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.
  3. 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.
  4. 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).

9.2 lan_modemserver: How can I allow the users in my LAN to dial out via the ISDN card(s) in my Linux PC (like a modem server)?

On the Linux side use modemd, which is a very short perl script (also see Linux Modem sharing mini-HOWTO at http://www.linuxdoc.org/HOWTO/mini/Linux-Modem-Sharing.html):


#!/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 by inetd, therefore this has to be added to /etc/services:
modem           20006/tcp       modemd  # Modem service via TCP
isdn            20007/tcp       modemd  # ISDN  service via TCP

And this has to be added to /etc/inet.conf:
modemd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/modemd ttyI5

Instead of modemd you can also use the program mserver, which has some additional functionality (e.g. rights based on ip address): ftp://ftp.innet.be/pub/staff/carl/

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 ancient 16bit Win applications, and not even working in the DOS box. Another program is DialOut/IP, but it's fairly expensive ($70).

COMT may be found on Simtel: http://educom.sce.fct.unl.pt/ftp/pub/shareware/win-utils/comt2.zip

DialOut/IP can be found on: http://tacticalsoftware.com

Those who just want to save their CrossPoint installation should be aware that it now offers tcp modem support, such that it will run without additional software. Check out: http://www.openxp.de


Next Previous Contents

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0029 ]--