diald and ip-masquarding

diald and ip-masquarding

Post by Sin Hang K » Thu, 21 Dec 1995 04:00:00



Is it possible to put them work together?

I would like to have the LInux box dial out automatically when some pc
on the net try to connect to the Internet and disconnect when there
are some long idle on the line.

Thank you,

Kent Sin.

 
 
 

diald and ip-masquarding

Post by ta.. » Fri, 29 Dec 1995 04:00:00



Quote:>Is it possible to put them work together?
>I would like to have the LInux box dial out automatically when some pc
>on the net try to connect to the Internet and disconnect when there
>are some long idle on the line.
>Thank you,
>Kent Sin.

I don't know about masquarding, but what I use on the network is works
sweet.  My Linux box is running diald w/ pppd on a dynamic IP
connection.  Next, I am running sockd to firewall all the inside
address so I only need the IP address that is assigned to me on
dialin. Then I use a socks cap to run my windows stuff(works for 3.1,
3.11, win95). The diald & pppd are available on sunsite but the socks
stuff is at ftp.nec.com in the /pub/security subdirectory.  You will
need the following files.

socks5 - ver5 of the socks server that will run on Linux - will need

               will need to be compiled
sockscap - for windows apps - compiled versions(1 exe, 1 dll)
Readme's - in sockscap dir

Hope this helps. If you need help with this setup just email me
                                                                 scott


 
 
 

diald and ip-masquarding

Post by James Tabo » Sun, 31 Dec 1995 04:00:00



> I don't know about masquarding, but what I use on the network is works
> sweet.  My Linux box is running diald w/ pppd on a dynamic IP
> connection.  Next, I am running sockd to firewall all the inside
> address so I only need the IP address that is assigned to me on
> dialin.

Can you please show us your script files for diald and pppd.

jt

 
 
 

diald and ip-masquarding

Post by Craig Hag » Thu, 04 Jan 1996 04:00:00


:  
: > I don't know about masquarding, but what I use on the network is works
: > sweet.  My Linux box is running diald w/ pppd on a dynamic IP
: > connection.  Next, I am running sockd to firewall all the inside
: > address so I only need the IP address that is assigned to me on
: > dialin.
: >

: Can you please show us your script files for diald and pppd.

I run a similar setup: diald and ip masquerading, no socks,
i use 192.168.1.0 for my internal net,

/etc/ipfw a m all from 192.168.1.254/24 to 0.0.0.0/0

my chat script is:

TIMEOUT 5
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT ERROR
ABORT "CARRIER 2400"
"" +++ATZ
OK ATH0
TIMEOUT 200
OK ATDT7555-1212
CONNECT ""
TIMEOUT 5
ENTER A NUMBER(ISPprompt>): 2
Username: myusername
TIMEOUT 45
Password: itsasecret

my script to start diald:

/usr/sbin/diald /dev/cua0 -m ppp local 10.0.0.1 remote 10.0.0.2 dynamic defaultroute modem crtscts connect "/usr/etc/chat -f /etc/slipchat" -f /etc/diald.conf mtu 1500

note: the imm*ip #'s for the fake interfaces.

-- craig