LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-03-2009, 11:38 AM   #1
jrmontg
Member
 
Registered: Nov 2004
Posts: 58

Rep: Reputation: 15
Help with iptables


I have a windows server that is trying to access a samba share over a openvpn bridged vpn.

In my log I get this error and need some help with a rule to add to permit.

Outside =br0 OUT= PHYSIN=tap0 MAC=00... SRC=10.1.1.254 DST=10.1.1.39 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=7650 DF PROTO=TCP SPT=1036 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=
 
Old 11-04-2009, 04:16 AM   #2
zhjim
Member
 
Registered: Oct 2004
Distribution: Debian lenny & etch & sid, Slackware 13.)
Posts: 735
Blog Entries: 4

Rep: Reputation: 67
Quote:
Originally Posted by jrmontg View Post
Outside =br0 OUT= PHYSIN=tap0 MAC=00... SRC=10.1.1.254 DST=10.1.1.39 LEN=48 TOS=0x00 PREC=0x00 TTL=128 ID=7650 DF PROTO=TCP SPT=1036 DPT=445 WINDOW=16384 RES=0x00 SYN URGP=
I can't tell if this log message is before a DENY or if it just before a ACCEPT but taken that this is before a DENY following rule should grant access

Code:
iptables -i br0 -d 10.1.1.39 -p tcp --dport 445 -j ACCEPT
check if br0 realy is the -i(n interface) else substitute with the correct one.

Cheers Zhjim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 06:25 AM
[SOLVED] Rather huge IPtables chain, iptables: Memory allocation problem. Gangrif Linux - Networking 10 09-11-2009 04:30 PM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 09:20 PM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 07:08 AM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 08:36 AM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration