I am attempting to set up my Linux machine to serve as a point of
connection to my ISP via dialup. I am able to get the Linux box
connected to the ISP and see the 'Net from there, but am still
struggling with establishing a connection through that box to the
'Net. I've been wallowing through the various HOWTOs --but I'm not
quite sure where to focus in -- there's so much stuff there to pick
through. It looks to me like I need to be focusing in on configuring
ipchains and masquerading, plus a caching DNS(?).
I'm not so much looking for what to do as to where to zero in in the
docs. Could someone steer me in the right direction?
My configs info follows ... just for the heck of it.
Kernel 2.4.7
--------------------------------------
/etc/resolv.conf:
======================================
search .
nameserver 192.168.1.1
nameserver 207.69.188.185
nameserver 207.69.188.186
<nidx>nameserver
--------------------------------------
/etc/named.conf:
======================================
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
//Quote:};
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
zone "." IN {Quote:};
type hint;
file "named.ca";
zone "localhost" IN {Quote:};
type master;
file "localhost.zone";
allow-update { none; };
zone "0.0.127.in-addr.arpa" IN {Quote:};
type master;
file "named.local";
allow-update { none; };
include "/etc/rndc.key";Quote:};
--------------------------------------
output of ipchains -L:
======================================
Chain input (policy ACCEPT):
target prot opt source destination
ports
ACCEPT udp ------ nikto.wildwisconsin.com anywhere
domain -> 1025:65535
ACCEPT tcp -y---- anywhere anywhere any
-> smtp
ACCEPT tcp -y---- anywhere anywhere any
-> http
ACCEPT tcp -y---- anywhere anywhere any
-> ftp
ACCEPT tcp -y---- anywhere anywhere any
-> ssh
ACCEPT tcp -y---- anywhere anywhere any
-> telnet
ACCEPT udp ------ anywhere anywhere
bootps:bootpc -> bootps:bootpc
ACCEPT udp ------ anywhere anywhere
bootps:bootpc -> bootps:bootpc
ACCEPT all ------ anywhere anywhere n/a
REJECT tcp -y---- anywhere anywhere any
-> 0:1023
REJECT tcp -y---- anywhere anywhere any
-> nfs
REJECT udp ------ anywhere anywhere any
-> 0:1023
REJECT udp ------ anywhere anywhere any
-> nfs
REJECT tcp -y---- anywhere anywhere any
-> x11:6009
REJECT tcp -y---- anywhere anywhere any
-> xfs
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):