all things nixy …
RSS icon Home icon
  • simplest firewalling rules

    this basically denies all incoming connection that is not initiated by the user and allowing all authorised traffic to flow in.

    iptables -A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT
    iptables -A INPUT -i lo -j ACCEPT
    iptables -A INPUT -j DROP
    iptables -A OUTPUT -j ACCEPT
    iptables -A FORWARD -j DROP

    to unblock ping request

    iptables -A INPUT -p icmp -j ACCEPT

    GD Star Rating
    loading...
  • basic wireless connectivity

    *reference for NC team*
    First find you network device.

    #ifconfig

    you’ll get a listing of devices and pick your wireless device.
    example: eth1, wlan0

    then to connect with command line

    #iwconfig wlan0 essid “wirelessname” key open [1] 0123456789

    to set ip address manually and overide whatever dhcp pushed from the network

    #ifconfig wlan0 192.168.0.254
    #route add default gw 192.168.0.1

    got questions? ask…

    GD Star Rating
    loading...
Your Ad Here