Dummy linux / firewall

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
Dev_BR
Posts: 87
Joined: Fri Jan 27, 2012 6:55 am

Dummy linux / firewall

Post by Dev_BR »

I have no experience with linux, but I have notions about the command line.
Could someone give me information on how to see, edit firewall file ?

I know how to acess router with putty and I can reach firewall subdirectory

thanks

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Dummy linux / firewall

Post by DoesItMatter »

Google the command "vi"

You can also try Nano

From the command line

opkg update
opkg install nano

then to run just type: nano

Either way, make sure you backup the firewall file before you
start editing and/or making changes.

cp file1 file2

Should run you a copy of the file
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Dev_BR
Posts: 87
Joined: Fri Jan 27, 2012 6:55 am

Re: Dummy linux / firewall

Post by Dev_BR »

thanks ! :) :D

Post Reply