Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: IPtables Question

IPtables Question 6 years 10 months ago #33347

  • kogula14
  • kogula14's Avatar
  • Offline
  • Frequent Member
  • Posts: 49
  • Karma: 0
Hi,

I would like to know if for an example, i want to block a range of IP address let say 124.217.0.0/16 so the command should be as below:-

iptables -A INPUT -s 124.217.0.0/255.255.0.0 -j DROP

Now my question is, how about if i want to ONLY allow certain IP address from the above range? What command should I use? Let say I want to ALLOW IP 124.217.120.15, in this case, what command should i use since this IP already been blocked in the list???

Thanks!
The administrator has disabled public write access.
Time to create page: 0.069 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup