hoi. hier de config (soho77):
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname blaat
!
enable secret ?
!
ip subnet-zero
no ip domain-lookup
!
ip dhcp pool blaat
network x.x.x.x 255.255.255.0
default-router x.x.x.x
dns-server x.x.x.x
!
bridge irb
!
!
!
interface Ethernet0
ip address x.x.x.x 255.255.255.0
ip access-group 101 in
ip nat inside
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/35
encapsulation aal5snap
!
dsl operating-mode auto
bridge-group 1
!
interface BVI1
ip address x.x.x.x 255.255.255.0
ip access-group 101 in
ip nat outside
!
ip nat inside source list 101 interface BVI1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.x.x 254
no ip http server
!
access-list 101 deny udp any eq 138 any
access-list 101 deny udp any eq 137 any
access-list 101 deny udp any eq 139 any
access-list 101 deny tcp any eq 137 any
access-list 101 deny tcp any eq 138 any
access-list 101 deny tcp any eq 139 any
access-list 101 permit ip any any
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
transport input none
stopbits 1
line vty 0 3
password ?
login
line vty 4
exec-timeout 10000 0
password ?
login
transport input telnet
!
scheduler max-task-time 5000
end
met welke entry gooi ik die poort 23 dicht zodat die soho niet meer op 23 te bereiken is vanaf internet?
"access-list 101 deny udp any eq 23 any" werkt dus niet...
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname blaat
!
enable secret ?
!
ip subnet-zero
no ip domain-lookup
!
ip dhcp pool blaat
network x.x.x.x 255.255.255.0
default-router x.x.x.x
dns-server x.x.x.x
!
bridge irb
!
!
!
interface Ethernet0
ip address x.x.x.x 255.255.255.0
ip access-group 101 in
ip nat inside
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/35
encapsulation aal5snap
!
dsl operating-mode auto
bridge-group 1
!
interface BVI1
ip address x.x.x.x 255.255.255.0
ip access-group 101 in
ip nat outside
!
ip nat inside source list 101 interface BVI1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.x.x 254
no ip http server
!
access-list 101 deny udp any eq 138 any
access-list 101 deny udp any eq 137 any
access-list 101 deny udp any eq 139 any
access-list 101 deny tcp any eq 137 any
access-list 101 deny tcp any eq 138 any
access-list 101 deny tcp any eq 139 any
access-list 101 permit ip any any
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
transport input none
stopbits 1
line vty 0 3
password ?
login
line vty 4
exec-timeout 10000 0
password ?
login
transport input telnet
!
scheduler max-task-time 5000
end
met welke entry gooi ik die poort 23 dicht zodat die soho niet meer op 23 te bereiken is vanaf internet?
"access-list 101 deny udp any eq 23 any" werkt dus niet...
[ Voor 0% gewijzigd door Verwijderd op 01-10-2002 22:06 . Reden: "" erbij ]