DialIn Server, ich habe ein noch ein paar Fragen

Post Reply
Message
Author
Paule

DialIn Server, ich habe ein noch ein paar Fragen

#1 Post by Paule »

Hallo Leute,

ich habe mir einen DialIn Server aufgesetzt. Die Konfiguration seht Ihr unten.

Nun habe ich merkwürdige Phänomene. (ippp0 dialout; ippp1 dialin; RedHat7.3)

1. Wenn ein DialIn kommt, kommt der auf dem ippp0 an, obwohl die MSN des ippp0 eine andere ist als beim ippp1. Und ich rufe auch die andere MSN an.

2. Die Nummer vom Server, ist im ISDNlog als +49711 12345 angezeigt und nicht die richtige Vorwahl.

3. Ich komme trotz dem Eintrag proxyarp in den ioptions.ipppX nicht auf das dahinterliegende Netz. Selbst ping geht nicht. Auf den Server kann ich mit ssh draufzugreifen.

4. bei mir ist ipchains aktiv. wenn ich ihn wie unten im firewall-script rausnehme und iptables benutzen will, geht die Einwahl nicht mehr. Ich habe nachgeschaut Bei ipchains sind Rules aktiv. Welche weiß ich nicht, ich habe diese nicht rein gepackt, also irgenwelche standards.

Folgende Konfiguration habe ich jetzt am laufen:


(Hier der Firewall-script das was auskommentiert ist, will ich eigentlich zum laufen haben, da er ein Router zum iNet darstellen soll.)

/firewall

#service ipchains stop
#rmmod ipchains


#iptables -F
#iptables -t nat -F

#iptables -P INPUT ACCEPT
#iptables -P OUTPUT ACCEPT
#iptables -P FORWARD ACCEPT

echo "1" > /proc/sys/net/ipv4/ip_forward

#iptables -A INPUT -i ippp1 -p ALL -j ACCEPT
#iptables -A OUTPUT -o ippp1 -p ALL -j ACCEPT
#iptables -A INPUT -i eth0 -p ALL -s 192.168.0.0/24 -j ACCEPT
#iptables -A OUTPUT -o eth0 -p ALL -s 192.168.0.0/24 -j ACCEPT
#iptables -A OUTPUT -o ippp0 -p ALL -j ACCEPT

#iptables -A INPUT -p ALL -s 192.168.0.100 -d 192.168.0.100 -j ACCEPT
#iptables -A OUTPUT -p ALL -s 192.168.0.100 -d 192.168.0.100 -j ACCEPT
#iptables -A INPUT -p ALL -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
#iptables -A OUTPUT -p ALL -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
#iptables -A OUTPUT -o ippp0 -p tcp --sport 42 -j DROP

#iptables -A INPUT -i ippp0 -p ALL -m state --state ESTABLISHED,RELATED -j ACCEPT
#iptables -A INPUT -i ippp0 -p ALL -m state --state NEW -j LOG --log-level INFO --log-prefix "PAULE VERBINDUNG DROP:"
#iptables -A INPUT -i ippp0 -p ALL -m state --state NEW -j DROP
#iptables -A INPUT -i ippp0 -p icmp -j DROP

#iptables -A FORWARD -j ACCEPT
#iptables -A FORWARD -i eth0 -o ippp0 -m State --state NEW -j ACCEPT
#iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
#iptables -t nat -A POSTROUTING -p ALL -s 192.168.0.0/24 -j MASQUERADE

-------------------------------------------------------------------------

/etc/ppp/ioptions

file /etc/ppp/ioptions.ippp0
file /etc/ppp/ioptions.ippp1

-------------------------------------------------------------------------

/etc/ppp/ioptions.ippp0

proxyarp

-------------------------------------------------------------------------

/etc/ppp/ioptions.ippp1

#/dev/ippp1
#192.168.0.101:192.168.0.102

#-defaultroute
#bsdcomp15
#mru 1524
#mtu 1500
proxyarp

-------------------------------------------------------------------------

/etc/sysconfig/network-scripts/ifcfg-ippp0

USERCTL='yes'
BOOTPROTO='dialup'
NAME='ispname'
DEVICE='ippp0'
TYPE='ISDN'
ONBOOT='yes'
DEFROUTE='yes'
SECURE='off'
PERSIST='off'
BUNDLING='off'
HUPTIMEOUT='600'
MSN='6789'
PROVIDER='ispname'
ENCAP='syncppp'
DIALMODE='manual'
PHONE_OUT='o80012345'
USER='blabla'
AUTH='+pap -chap'
PEERDNS='yes'
CALLBACK='off'
BSDCOMP='off'
CCP='off'
VJCCOMP='off'
AC='off'
VJ='off'
PC='off'

-------------------------------------------------------------------------

/etc/sysconfig/network-scripts/ifcfg-ippp1

USERCTL='yes'
NETMASK='255.255.0.0'
BOOTPROTO='none'
NAME='dialin'
DEVICE='ippp1'
IPADDR='192.168.0.101'
GATEWAY='192.168.0.100'
TYPE='ISDN'
ONBOOT='yes'
DEFROUTE='yes'
SECURE='off'
PERSIST='off'
BUNDLING='off'
HUPTIMEOUT='600'
MSN='12345'
PROVIDER='dialin'
ENCAP='syncppp'
DIALMODE='manual'
PHONE_OUT='12345'
USER='blabla'
AUTH='noauth'
NETWORK='192.168.0.0'
BROADCAST='192.168.255.255'
CALLBACK='off'
BSDCOMP='off'
CCP='off'
VJCCOMP='off'
AC='off'
VJ='off'
PC='off'

-------------------------------------------------------------------------

Post Reply