How to Allow ping from internet?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
tecnomad
DD-WRT Novice


Joined: 10 Jul 2006
Posts: 6
Location: Monza - Italy

PostPosted: Mon Jul 10, 2006 14:05    Post subject: How to Allow ping from internet? Reply with quote
Hi at all, my system is an Linksys WRT54GL with dd-wrt v23 SP1.
My request is how to allow an range IP from internet to ping my WAN port.

If this is not possible how can allow to ping my wan port from all internet?

With search button i find any tips.

Thanks for the support.

_________________
MAD
Cydoniamensae.Net
Sponsor
ross
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 5

PostPosted: Mon Jul 10, 2006 14:11    Post subject: Reply with quote
Login via telnet.

Issue the commands:

iptables -A INPUT -i eth0 -s 0.0.0.0/24 -p ICMP -j ACCEPT

Replacing 0.0.0.0/24 with your ip address range.

I think this will work, but it's late and I havent tested it.
dicksons
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 980
Location: Coal Creek Canyon, Colorado

PostPosted: Mon Jul 10, 2006 14:13    Post subject: Reply with quote
On the Security Tab,

uncheck "Block anonymous internet requests"

I don't know why the label for this couldn't be more clear about Wan Pings.....

_________________
linksys GSv2, Gv4, Gv2, GLv1, G-TM, Buffalo wbr2, whr, whr-hp, whr-g125, wli-tx4-g54hp, Moto wr850gp, Alix.3C2
tecnomad
DD-WRT Novice


Joined: 10 Jul 2006
Posts: 6
Location: Monza - Italy

PostPosted: Mon Jul 10, 2006 14:38    Post subject: Reply with quote
dicksons wrote:
On the Security Tab,

uncheck "Block anonymous internet requests"

I don't know why the label for this couldn't be more clear about Wan Pings.....

Thanks dicksons! With this the Router accept ALL ICMP packet.
After a rapid read of IPTABLES i has construct this rule:
Code:
iptables -A INPUT -s 88.149.128.0/24 -p icmp -j ACCEPT


With this I want to accept all ICMP from "88.149.128.0/24" CIDR range, you think that this rule work? I'm an Windows user... Embarassed Wink

_________________
MAD
Cydoniamensae.Net
tecnomad
DD-WRT Novice


Joined: 10 Jul 2006
Posts: 6
Location: Monza - Italy

PostPosted: Mon Jul 10, 2006 15:11    Post subject: Reply with quote
ross wrote:
Login via telnet.

Issue the commands:

iptables -A INPUT -i eth0 -s 0.0.0.0/24 -p ICMP -j ACCEPT

Replacing 0.0.0.0/24 with your ip address range.

I think this will work, but it's late and I havent tested it.


Sorry ross, but I'd read your reply... Exclamation

Ok, can you explain me because you use eth0 interface and not br0 or ppp0?

Thanks in advance

_________________
MAD
Cydoniamensae.Net
ross
DD-WRT Novice


Joined: 09 Jul 2006
Posts: 5

PostPosted: Mon Jul 10, 2006 21:56    Post subject: Reply with quote
Sure, I'm as new to iptables as you are. This website (http://www.remoteroot.net/2006/06/cheap-linux-firewall-iptables-on.php) explains a bit.
When I was testing things out, I used 'ifconfig' to grab a list of devices and found that eth0 was the WAN port. The command I gave you should work, but I've been told it's better to use vlan1 in this circumstance.
WaS
DD-WRT Guru


Joined: 06 Jun 2006
Posts: 731
Location: Erlangen, Germany

PostPosted: Tue Jul 11, 2006 10:02    Post subject: Reply with quote
dicksons wrote:
[re."Block anonymous internet requests"]
I don't know why the label for this couldn't be more clear about Wan Pings.....

The developers have announced to improve the online help page,
but this is not yet reflected in the latest (July 11) release of v23.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum