- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#1 (permalink) |
|
Newbie
Join Date: Dec 2011
Posts: 1
![]() |
I've been using Untangle for a couple of years and I've been very happy with it, but more recently I've wanted to do something and the way to do it isn't clear.
I'd like to be able to script a forwarding rule that computer A could place on the Untangle server. I've already enabled SSH in Untangle, so computer A can log in. I'm familiar with writing normal iptables rules and could easily do this in a "normal" Linux firewall, but it's not clear exactly how (where) I could do this in Untangle. I've seen the rules located in /etc/untangle-net-alpaca/iptables-rules.d/600-redirect but obviously these get overwritten by net alpaca. Please don't say "use the GUI". That doesn't help with automation and doesn't address the problem. Last edited by chillamayo; 12-22-2011 at 09:28 AM.. Reason: typo |
|
|
|
|
#2 (permalink) |
|
Untangle Junkie
![]() Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 10,611
![]() |
Settings like in /usr/share/untangle/settings/ in JSON
If you checkout the code you can find test python scripts that use the API to do various things like add rules etc. iptables is used as an internal mechanism to untangle, not to implement the firewall or other features. I would not modify iptables untangle. If you're really dieing to use iptables you'd be better off just using debian or some other base OS because you can start with a clean slate and it won't interfere with the other stuff running on the server. If you modify anything I would suggest disabling all automatic upgrades. welcome to the forums!
__________________
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email support@untangle.com |
|
|
![]() |
| Tags |
| bash, scripting, shell |
| Thread Tools | |
|
|