freesco faked hw adres lines in rc_net bestand

Pagina: 1
Acties:
  • 107 views sinds 30-01-2008
  • Reageer

  • erieberie
  • Registratie: November 2000
  • Laatst online: 22-01-2010
Ben al drie dagen bezig om freesco op te laten starten met een fake hardware adres op eth0.

Maar elke keer als ik de aangepaste rc_net wil gebruiken komt er een melding

"/rc/rc_net: no such file or directory"

en linux configureerd eth0 en eth1 dus niet.

Hier de code die ik heb ingevoerd:


"tussen" [ $ROUTER = dialup ] && USEDHCP0=n

ifconfig eth0 down
ifconfig eth0 hw ether 4-:54:E8:9-:53:6-
ifconfig eth0 up

"en tussen" if [ "$1" = stop -o "$1" = restart ]; then

Deze heb ik van een draadje uit het forum en volgens andere freesco forums zou dit ook moeten werken.
Moet wel zeggen dat de lines met pfe zijn geedit omdat ik freesco van flop draai en geen linux editer heb.

Heeft iemand een tip?

alvast bedankt

  • Koffie
  • Registratie: Augustus 2000
  • Laatst online: 13:09

Koffie

Koffiebierbrouwer

Braaimeneer

Move > NOS

Braaikamer - Smoke&BBQ


Verwijderd

Je slaat de file toch niet op in ASCII mode ? Anders moet je eens zoeken naar een editor die wel UNIX files kan schrijven. Er zijn er veel, editpad is er eentje van.

  • erieberie
  • Registratie: November 2000
  • Laatst online: 22-01-2010
Is inmiddels opgelost maar ik krijg via mijn client nog steeds geen verbinding met internet.
Wel met de web control van freesco dus beide nics werken, en eth0 krijgt ook een ip van de isp.
Voor de rest staat alles op dhcp gconfigd.
Dan hoor ik toch ook geen dns in te vullen?

|:(

  • koe161
  • Registratie: September 2001
  • Nu online

koe161

koe(c)

dns aangezet in de freesco?

oftewel kan je wel pingen op ip-niveau?

Er is een tijd van werken en een tijd van genieten.


  • erieberie
  • Registratie: November 2000
  • Laatst online: 22-01-2010
Ik heb het net geprobeerd maar pingen lukt idd niet.
Ik heb hier daarom maar mijn log file ik zie het ff nietFREESCO v0.2.7 System Report. Generated - Tue Apr 09 01:53:14 2002


----- clock -----
Tue Apr 9 01:53:15 2002


----- cat /etc/system.cfg -----
# [System]
ROUTER=ethernet# 0.dialup/leased/ethernet/bridge
HOSTNAME=router#711.Router name
DOMAIN=inet#712.(Local) domain name
ENAMSQ=y # 11.Enable NAT and firewall
ENABRG=n # 12.Enable bridging mode? DONT TOUCH!!!
BIGMEM=n # 13.If 16+MB RAM start ppp bsd compression
SAVERS=0,0 # 14.Savers - screen(min),hdd(x5 sec) 0 -off
SWPSIZE=0# 15.Swap size in Kb on boot device. 0 - off
LOGSIZE=50000,5000# 16.System_log,logins_log sizes (bytes)
DEFISP=# 6.Default dialup ISP

# [Services] # y - worldwide/s - local/n - disable
ENADNS=s #411.Enable caching DNS server
LOGDNS=n#412.Enable debug info
ENADHCP=s #421.Enable DHCP server
WINSADDR=#422.WINS address (for DHCP server)
LIZTIME=604800,604800#423.default-lease-time,max-lease-time
ENAWWW=n #431.Enable Public HTTP Server
WWWPORT=80 #432.on port
ENAWWA=s #441.Enable Time Server and control via HTTP
WWAPORT=82 #442.on port
TIMADDR=www.clock.org#443.Host timeserver address, empty - disable
TIMZONE=+0400#444.Offset to UTC (-1200 -:- +1200)
ENALPD=n #451.Enable Print Server
LPPORT1=515#452.on port
LPDEV1=lp1#453.on output device
LPPORT2=516#454.Second lp server on port, empty - disable
LPDEV2=lp2#455.on output device
ENATEL=s# 46.Enable telnet server


# [Security]
TRUSTLN=p #211.Trust local nets y/n/p{artual}
TRUSTMD=y#212.Modem links have access to local networks
RINGS=2,7#220.Rings before answer at login,nologin time
MonTIM=""#221.Nologin times for modem users
TueTIM=""#222
WedTIM=""#223
ThuTIM=""#224
FriTIM=""#225
SatTIM=""#226
SunTIM=""#227


# [Modems]
MODEM0= # 51.1st modem
MSPEED0=# 52.port's speed
MINIT0=""# 53.init string
MTU0=#541.Maximum Transmit Unit
MRU0=#542.Maximum Receive Unit
MADDR0=192.168.168.2# 55.ppp link remote addr (for dialin purpose)

MODEM1= # 61
MSPEED1=# 62
MINIT1=""# 63
MTU1=#641
MRU1=#642
MADDR1=192.168.168.3# 65.I said for dialin purpose.


# [leased line router]
ADRTYPE=dynamic #921.if ISP supplies us with dynamic IP, then:
LOCAL=127.0.0.2 #922.fake local side ppp IP addr
REMOTE=127.0.0.3 #923.fake remote addr


# [ethernet/leased/printer/ras router]
GATEWAY=#911.Default gateway, if exist.
DNSADDR=212.115.192.193#912.Primary DNS address for ethernet connection
DNSADDR1=212.115.192.195#913.Secondary DNS address for ethernet connection
PROXY=""#914.HTTP proxy addr[:port]


# [Hardware]
IO0=0x300#811.1st ethernet card I/O address
IRQ0=10#812.IRQ line
IO1=0x360#821
IRQ1=5#822
IO2=0#831
IRQ2=0#832


# [Networks]
USEDHCP0=y#720.Use DHCP client to config this interface
INTNAME0=eth0#721.Interface name (eth0|arc0e|arc0)
DHCPLOG=n#722.Enable DHCP client messages in the log
DHCPDNS=y#723 Enable auto configuration of DNS via DHCP
IPADDR0=192.168.0.12#724.IP adress of this interface
NETMASK0=255.255.255.0 #725.Network mask
NETWORK0=192.168.0.0# Network address
BRDCAST0=192.168.0.255# Broadcast address
#726.IP pool, empty disables DHCP on this interface
IPRANGE0=""

INTNAME1=eth1#731.Interface name (eth1|eth0:1|arc0e|arc0 etc)
IPADDR1=192.168.0.1#732. Second network
NETMASK1=255.255.255.0
NETWORK1=192.168.0.0
BRDCAST1=192.168.0.255
IPRANGE1="192.168.0.20 192.168.0.200"

INTNAME2=#74x. Third network
IPADDR2=
NETMASK2=
NETWORK2=
BRDCAST2=
IPRANGE2=""



----- cat /etc/live.cfg -----
VER=0.2.7
bootdev=fd0
UPTIME="Tue Apr 9 01:44:22 2002"
RENEW=1
IPADDR0=62.238.177.45
NETMASK0=255.255.224.0
BRDCAST0=62.238.191.255
NETWORK0=62.238.160.0
GATEWAY=62.238.191.254
DNSADDR=212.115.192.193
DNSADDR1=212.115.192.195
UPDATE=1
DONE="echo Done"


----- cat /etc/dhcpc/dhcpcd-eth0.info -----
IPADDR=62.238.177.45
NETMASK=255.255.224.0
NETWORK=62.238.160.0
BROADCAST=62.238.191.255
GATEWAY=62.238.191.254
DOMAIN=zeelandnet.nl
DNS=212.115.192.193,212.115.192.195
DHCPSID=62.238.63.254
DHCPGIADDR=0.0.0.0
DHCPSIADDR=62.238.63.254
DHCPCHADDR=45:54:E8:90:53:6A
DHCPSHADDR=00:DE:AD:BE:EF:66
DHCPSNAME=
LEASETIME=14400
RENEWALTIME=7200
REBINDTIME=12600


----- cat /etc/forward.cfg -----
#_47x._[Port_forwarding_AKA_export_services]
#_
#_tcp|udp,incoming_port,local_computer_IP_addr/port
#_
#_Example:_t,80,192.168.168.2/80
#_this_will_open_worldwide_web_server_on_local_computer_192.168.168.2
#_
#_Example:_t,21,192.168.168.3/21
#_this_will_open_worldwide_ftp_server_on_local_computer_192.168.168.2
#_
#_Comment_must_be_on_separate_line_start_with_"#_"_and_should_not_have_spaces



----- cat /etc/banlist.cfg -----
#_23._[List_of_banned_hosts/nets_one_record_per_line]
#_
#_local|external,IP_addr[/netmask_or_netbits_if_baning_a_whole_net]
#_
#_Example:_l,123.124.125.0/24_ban_local_net
#_Example:_e,123.124.125.0/255.255.255.0_ban_external_net
#_Example:_l,10.0.0.123_ban_local_host
#_
#_Comment_must_be_on_separat_lines_start_with_"#_"_and_should_not_have_spaces



----- sed -n 1,/AUTH/P /etc/chat.pwd -----


----- lsmod -----
ModulePagesUsed by
/tmp/net/3c509.o.C 22
ip_masq_ftp 10
ip_masq_irc 10
ip_masq_quake 10
ip_masq_vdolive 10
ip_masq_raudio 10
ip_masq_icq 10
ip_masq_cuseeme 10
8390 20


----- dmesg | grep eth -----
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=2
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=2
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=2
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1
IP fw-in rej eth0 UDP 62.238.58.155:53 62.238.177.45:53 L=126 S=0x00 I=0 F=0x0040 T=1


----- ifconfig -----
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:1157 errors:0 dropped:0 overruns:0
TX packets:1157 errors:0 dropped:0 overruns:0

eth0 Link encap:10Mbps Ethernet HWaddr 45:54:E8:90:53:6A
inet addr:62.238.177.45 Bcast:62.238.191.255 Mask:255.255.224.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:38210 errors:0 dropped:0 overruns:0
TX packets:10958 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x360

eth1 Link encap:10Mbps Ethernet HWaddr 00:20:AF:C7:E6:82
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:282 errors:0 dropped:0 overruns:0
TX packets:158 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300



----- cat /proc/interrupts -----
0: 56164 timer
1: 80 keyboard
2: 0 cascade
5: 38189 3c509
6: 118 + floppy
8: 1 + rtc
10: 267 3c509
13: 0 math error


----- cat /proc/ioports -----
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
0300-030f : 3c509
0360-036f : 3c509
03bc-03be : lp
03c0-03df : vga+
03e8-03ef : serial(auto)
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)


----- route -n -----
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
255.255.255.255 * 255.255.255.255 UH 1500 0 2 eth1
192.168.0.0 * 255.255.255.0 U 1500 0 1 eth1
62.238.160.0 * 255.255.224.0 U 1500 0 5 eth0
127.0.0.0 * 255.0.0.0 U 3584 0 2 lo
default 62.238.191.254 * UG 1500 0 18 eth0


----- cat /etc/dhcpd.leases -----
lease 192.168.0.94 {
starts 1 2002/04/08 18:55:09;
ends 1 2002/04/15 18:55:09;
hardware ethernet 00:50:04:c6:30:ff;
uid 01:00:50:04:c6:30:ff;
client-hostname "Fujitsu";
}
lease 192.168.0.94 {
starts 2 2002/04/09 01:45:49;
ends 2 2002/04/16 01:45:49;
hardware ethernet 00:50:04:c6:30:ff;
uid 01:00:50:04:c6:30:ff;
client-hostname "Fujitsu";
}


----- free -----
total: used: free: shared: buffers: cached:
Mem: 64737280 14180352 50556928 4620288 7704576 1216512
Swap: 0 0 0
MemTotal: 63220 kB
MemFree: 49372 kB
MemShared: 4512 kB
Buffers: 7524 kB
Cached: 1188 kB
SwapTotal: 0 kB
SwapFree: 0 kB

Mounted FS:
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/fd0 /mnt umsdos rw 0 0

Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/ram0 2548 1631 917 64% /
/dev/fd0 1424 1374 50 96% /mnt


----- ps -----
PidStat ParentNameCommand
1 S0initinitauto
2 S1kflushd
3 S1kswapd
4 S1logrotatesh/bin/logrotate
6 S1syslogdsyslogd-r-h-m0
8 S1klogdklogd
19 S1daemonsh/bin/daemon-agetty 9600 tty2
24 S19agettyagetty9600tty2
139 S1dhcpcddhcpcd-R-t600-c/etc/renew-hroutereth0
182 S1namednamed
204 S1dhcpddhcpd-qeth1
344 S1thttpdthttpd-p82-uroot-d/wwa-l/dev/null
347 S1daemonsh/bin/daemon-synctimesleep 180002>/dev/null
349 S1daemonsh/bin/daemon-telnetd -debug
352 S349telnetdtelnetd-debug
381 S1daemonsh/bin/daemon-agetty 9600 tty1
383 S381sh-sh
420 S347sleepsleep180002>/dev/null
625 S344usr.cgishusr.cgiinfo
626 S625sysinfosh/bin/sysinfo
627 S625sedseds/</\<\;/g;s/>/\>\;/g
631 S4sleepsleep10
657 R626pssh/bin/ps


----- cat /etc/ppp/opt* -----
asyncmap 0


----- setserial -bg /dev/cua? -----
/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua2 at 0x03e8 (irq = 4) is a 16450
[Linux] _


----- : Interfaces : -----

----- ifconfig -----
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:1149 errors:0 dropped:0 overruns:0
TX packets:1149 errors:0 dropped:0 overruns:0

eth0 Link encap:10Mbps Ethernet HWaddr 45:54:E8:90:53:6A
inet addr:62.238.177.45 Bcast:62.238.191.255 Mask:255.255.224.0
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:30826 errors:0 dropped:0 overruns:0
TX packets:10952 errors:0 dropped:0 overruns:0
Interrupt:5 Base address:0x360

eth1 Link encap:10Mbps Ethernet HWaddr 00:20:AF:C7:E6:82
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255 errors:0 dropped:0 overruns:0
TX packets:132 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0x300


----- : Routing : -----

----- route -n -----
Kernel routing table
Destination Gateway Genmask Flags MSS Window Use Iface
255.255.255.255 * 255.255.255.255 UH 1500 0 2 eth1
192.168.0.0 * 255.255.255.0 U 1500 0 1 eth1
62.238.160.0 * 255.255.224.0 U 1500 0 5 eth0
127.0.0.0 * 255.0.0.0 U 3584 0 2 lo
default 62.238.191.254 * UG 1500 0 18 eth0

----- : Bridging : -----

----- brcfg -----
bridging is DISABLED debugging is DISABLED
bridge id0x0001 45:54:e8:90:53:6a
designated root0x0001 45:54:e8:90:53:6a
bridge max age20max age20
bridge hello time2hello time2
bridge forward delay15forward delay15
root path cost0root port0
flagsNONE
--- port stats ---
port 1port id 0x0001port stateFORWARDING (0x3)
designated root0x0001 45:54:e8:90:53:6a
designated bridge0x0001 45:54:e8:90:53:6a
path cost100designated cost0
designated port1flagsNONE
port 2port id 0x0002port stateFORWARDING (0x3)
designated root0x0001 45:54:e8:90:53:6a
designated bridge0x0001 45:54:e8:90:53:6a
path cost100designated cost0
designated port128flagsNONE

----- : Port forwarding : -----

----- ipportfw -L -----
Prot Local Addr/Port > Remote Addr/Port


----- : Firewall/Input : -----

----- ipfwadm -I -ln -----
IP firewall input rules, default policy: reject
type prot source destination ports
acc all 0.0.0.0/0 0.0.0.0/0 n/a
acc all 0.0.0.0/0 0.0.0.0/0 n/a
acc all 0.0.0.0/0 0.0.0.0/0 n/a
acc all 0.0.0.0/0 255.255.255.255 n/a
acc all 192.168.0.0/24 0.0.0.0/0 n/a
acc all 192.168.0.0/24 0.0.0.0/0 n/a
rej all 192.168.0.0/24 0.0.0.0/0 n/a
acc tcp 212.115.192.193 0.0.0.0/0 53 -> *
acc udp 212.115.192.193 0.0.0.0/0 53 -> *
acc tcp 212.115.192.195 0.0.0.0/0 53 -> *
acc udp 212.115.192.195 0.0.0.0/0 53 -> *
rej tcp 0.0.0.0/0 0.0.0.0/0 * -> 53
rej udp 0.0.0.0/0 0.0.0.0/0 * -> 53
rej tcp 0.0.0.0/0 0.0.0.0/0 * -> 23
rej tcp 0.0.0.0/0 0.0.0.0/0 * -> 82
rej udp 0.0.0.0/0 0.0.0.0/0 * -> 514
rej all 0.0.0.0/0 192.168.0.0/24 n/a
rej all 192.168.0.0/24 0.0.0.0/0 n/a
rej all 0.0.0.0/0 192.168.168.2 n/a
rej all 192.168.168.2 0.0.0.0/0 n/a
rej all 0.0.0.0/0 192.168.168.3 n/a
rej all 192.168.168.3 0.0.0.0/0 n/a
acc all 0.0.0.0/0 0.0.0.0/0 n/a

----- : Firewall/Forward : -----

----- ipfwadm -F -ln -----
IP firewall forward rules, default policy: reject
type prot source destination ports
acc all 192.168.0.0/24 192.168.168.2 n/a
acc all 192.168.168.2 192.168.0.0/24 n/a
acc all 192.168.0.0/24 192.168.168.3 n/a
acc all 192.168.168.3 192.168.0.0/24 n/a
acc all 192.168.168.2 192.168.168.3 n/a
acc all 192.168.168.3 192.168.168.2 n/a
acc/m all 192.168.0.0/24 0.0.0.0/0 n/a
acc/m all 192.168.168.2 0.0.0.0/0 n/a
acc/m all 192.168.168.3 0.0.0.0/0 n/a
acc/m all 0.0.0.0/0 0.0.0.0/0 n/a
acc/m all 0.0.0.0/0 0.0.0.0/0 n/a
acc/m all 192.168.0.0/24 0.0.0.0/0 n/a

----- : Firewall/Active Masquerading entries : -----

----- ipfwadm -M -ln -----
IP masquerading entries
prot expire source destination ports
tcp 116:23.13 192.168.0.94 205.188.250.25 3090 (61001) -> 80
tcp 115:37.82 192.168.0.94 205.188.250.25 3085 (61000) -> 80

----- : IP leases : -----

----- cat /etc/dhcpd.leases -----
lease 192.168.0.94 {
starts 1 2002/04/08 18:55:09;
ends 1 2002/04/15 18:55:09;
hardware ethernet 00:50:04:c6:30:ff;
uid 01:00:50:04:c6:30:ff;
client-hostname "Fujitsu";
}
lease 192.168.0.94 {
starts 2 2002/04/09 01:45:49;
ends 2 2002/04/16 01:45:49;
hardware ethernet 00:50:04:c6:30:ff;
uid 01:00:50:04:c6:30:ff;
client-hostname "Fujitsu";
}

[Linux] _


snap ik het gewoon niet of zie ik iets over het hoofd :?

  • erieberie
  • Registratie: November 2000
  • Laatst online: 22-01-2010
Het werkt!!
Ik ben zo blij als een kind :)
Mag ook wel na vijf dagen.
Het was een foutje in mijn faked hwadres

greetz erie
Pagina: 1