Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Oct 2018, 16:20
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
rc.local, rc.firewall and Tor's Transparent Proxy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
s243a

Joined: 02 Sep 2014
Posts: 1216

PostPosted: Sat 29 Apr 2017, 16:10    Post subject:  rc.local, rc.firewall and Tor's Transparent Proxy  

I'm trying trying to set up Tor's transparent Proxy
https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy#WARNING

so that I can connect to freent over TOR....well at least that's what I want to try.

The instructions give a bunch of commands to modify the iptables ruleset. Is the correct way to do this:
1.create a file called:
Code:

/etc/rc.d/rc.firewall

2. put these instructions inside the file
3. give the file execution privileges,
4. modify rc.local to append by append a line to call rc.firewall

The platform I'm testing this in is fatdog64

also since the puppylinux forum doesn't have ssl encryption I don't think I want it going through Tor. How would I add an exception to IPTables so that this forum is not routed through TOR?

Granted I don't necessarily need this exception because I'm running it in a virtual box and could just connect directly by using a browser that's not in the virtual box. Come to think of it though, I probably want a rule to drop all non SSL TCP traffic. I'll have to google that.

as a side note, some distributions have a file called
Code:

/etc/sysconfig/iptables


I don't think this applies to puppylinux.
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Sun 30 Apr 2017, 17:38    Post subject:  

Try this
Searchforiptables.png
 Description   
 Filesize   52.78 KB
 Viewed   118 Time(s)

Searchforiptables.png

Back to top
View user's profile Send private message Yahoo Messenger 
s243a

Joined: 02 Sep 2014
Posts: 1216

PostPosted: Mon 08 May 2017, 04:11    Post subject:  

april wrote:
Try this


Anyway, my idea worked. I don't know if it is the proper way to do it or not. I see that you have given me a bunch of search results. I'm not sure what to do with them. Perhaps there is something that I can learn in these search results.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1216

PostPosted: Wed 17 May 2017, 02:56    Post subject:  

I found the following which is interesting:
Quote:

Does iptables -F permanently delete all iptables rules

The iptables rules are stored in two places on Red Hat systems:

In memory within the running kernel, where the firewall code checks them on network I/O. Flushing the rules with iptables -F gets rid of this ruleset only.

In /etc/sysconfig/iptables from which they are loaded on boot. You can force a reload without rebooting with service iptables reload or ...restart.

So the answer is no, flushing the rules with iptables -F is not permanent.

When you go into setup and modify the firewall rules, it saves them in /etc/sysconfig/iptables. You're not supposed to edit that file directly, but if you know the iptables command l…

http://unix.stackexchange.com/questions/61957/ddg#61958

Not specifically about a problem I'm working on. Just interesting.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0654s ][ Queries: 12 (0.0217s) ][ GZIP on ]