ipfwadm

Support section for FREESCO v0.4.x

ipfwadm

Postby strampke » Fri May 13, 2011 2:47 pm

A new device will be added to a subnet designed for that device only.
A scanner wants to send dat to a server abroad.
The installation people want me to open some outgoing ports.
They were not able to tell me what protocol UDP, TCP or ICMP
I tried to compose a rule to open ports 443, 2401, 2402, 5500 and 59000

Is this any good?
Code: Select all
IPFWADM -O -a accept -P all -W 192.168.10.10 -D 0/0 eth2 443 2401 2402 5500 59000

And where will I place the rule in rc_user
Who knows knows, who doesn't doesn't.
User avatar
strampke
Junior Advanced Member
 
Posts: 151
Joined: Mon Jul 29, 2002 12:36 pm
Location: Delden, Netherlands

Re: ipfwadm

Postby Lightning » Fri May 13, 2011 9:11 pm

All outgoing ports are open on FREESCO and require no extra rules. This applies to everything except ICMP and to get that completely open means setting the ping responses in "y" mode.

setup -> system settings -> on/off advanced settings = y -> On/Off NAT/Firewall -> Enable ping responses = y

Past that if you need incoming ports open then you will need to enable the port forwarding option with the ports needed.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12080
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: ipfwadm

Postby strampke » Mon May 16, 2011 4:38 pm

Is there a way that I can ping or something using a specified port?
Ping doesn't have this option.
Something to test whether a port is open for traffic or not.

The idea is to send a signal from home to the office using a certain port and to test if it arrives at the client computer.
My network has an ADSL router and behind it a Freesco box that reigns over an 11 clients Windows LAN.
Who knows knows, who doesn't doesn't.
User avatar
strampke
Junior Advanced Member
 
Posts: 151
Joined: Mon Jul 29, 2002 12:36 pm
Location: Delden, Netherlands

Re: ipfwadm

Postby Lightning » Mon May 16, 2011 9:04 pm

I just created the hping2 package which should be uploaded to FREESCOsoft for the 04x series and there is an older hping2 package for the 03x series as well. Which using hping you can specify the port and protocol to use.

pkg -i -/hping2-2.0.0-rc3-lightning.pkg
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12080
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to FREESCO Support for v0.4.x

Who is online

Users browsing this forum: No registered users and 9 guests

cron