/[smeserver]/rpms/e-smith-portforwarding/sme7/e-smith-portforwarding-2.2.0-filter-source-address2.patch
ViewVC logotype

Annotation of /rpms/e-smith-portforwarding/sme7/e-smith-portforwarding-2.2.0-filter-source-address2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Jun 3 14:02:36 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_0_0-3_el4_sme, HEAD
* Thu Mar 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme
- Enable port forwards to localhost if mode is serveronly [SME: 5849]

1 slords 1.1 diff -up e-smith-portforwarding-2.2.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/91adjustPortForward.filter-source-address2 e-smith-portforwarding-2.2.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/91adjustPortForward
2     --- e-smith-portforwarding-2.2.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/91adjustPortForward.filter-source-address2 2010-03-11 16:13:44.000000000 +0100
3     +++ e-smith-portforwarding-2.2.0/root/etc/e-smith/templates/etc/rc.d/init.d/masq/91adjustPortForward 2010-03-11 17:03:50.000000000 +0100
4     @@ -33,7 +33,7 @@
5     $OUT .= " --src $host" unless $host eq '0.0.0.0/0';
6    
7     # Set up the remote port to forward to
8     - $OUT .= "-j DNAT --to-destination $ip:$dport\n";
9     + $OUT .= " -j DNAT --to-destination $ip:$dport\n";
10    
11     }
12    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed